code: def overlap(s1, s2):
      if (
          s2.start_sent >= s1.start_sent
          and s2.start_sent <= s1.end_sent
      ):
          return True
      if s2.end_sent >= s1.start_sent and s2.end_sent <= s1.end_sent:
          return True
      return False
  
file_path: DeepKE/example/triple/PURE/models/entityUtils.py
imports: import numpy
  import json
  import logging
label_desc: Use image node_id 2 for calling a global function with example usage: overlap(s1, s2) and returns: False, True, True