code: def overlap(current_annotation, annotation):
      return (
          current_annotation["start"]
          < annotation["end"]
          <= current_annotation["end"]
      ) or (
          annotation["start"]
          < current_annotation["end"]
          <= annotation["end"]
      )
  
file_path: finetune/finetune/encoding/sequence_encoder.py
imports: import warnings
  import numpy
  from finetune.encoding.input_encoder import get_spacy
label_desc: Use image node_id 7 for calling a global function with example usage: overlap(current_annotation, annotation) and returns: unknown