code: def read_overlaps_region(read, region):
      """Returns True if read overlaps read.
  
      This function is equivalent to calling:
  
        `ranges.ranges_overlap(region, read_range(read))`
  
      But is optimized for speed and memory performance in C++.
  
      Args:
        read: nucleus.genomics.v1.Read.
        region: nucleus.genomics.v1.Range.
  
      Returns:
        True if read and region overlap (i.e, have the same reference_name and their
        start/ends overlap at least one basepair).
      """
      return utils_cpp.read_overlaps_region(read, region)
  
file_path: deepvariant/third_party/nucleus/util/utils.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from third_party.nucleus.protos import range_pb2
  from third_party.nucleus.util.python import utils
label_desc: Use image node_id 1 for calling a global function with example usage: read_overlaps_region(read, region) and returns: utils_cpp