code: def is_continuous(group):
      # If there is only a single span, the group is continuous
      return len(group["spans"]) == 1
  
imports: from abc import ABCMeta
  import logging
  import json
  import numpy
  from finetune.encoding.target_encoders import BaseEncoder, Seq2SeqLabelEncoder, SequenceLabelingEncoder
label_desc: Use image node_id 2 for calling a global function with example usage: is_continuous(group) and returns: unknown