code: def overlaps(self, other):
      if not isinstance(other, TermRange):
          return False
      if self.fieldname != other.fieldname:
          return False
  
      start1 = self._comparable_start()
      start2 = other._comparable_start()
      end1 = self._comparable_end()
      end2 = other._comparable_end()
  
      return (
          (start1 >= start2 and start1 <= end2)
          or (end1 >= start2 and end1 <= end2)
          or (start2 >= start1 and start2 <= end1)
          or (end2 >= start1 and end2 <= end1)
      )
  
imports: from __future__ import division
  from whoosh.compat import b, u
  from whoosh.query import qcore, terms, compound, wrappers
  from whoosh.util.times import datetime_to_long
label_desc: Use image node_id 8 for calling the RangeMixin obj's underlying member method code with example usage: obj.overlaps(other) and returns: unknown, False, False