code: def get_labels_mask(self, obj):
      labels_mask = numpy.zeros(obj.shape, bool)
      for labels, indexes in obj.get_labels():
          labels_mask = labels_mask | labels > 0
      return labels_mask
  
imports: from functools import reduce
  import centrosome.cpmorphology
  import centrosome.fastemd
  import centrosome.filter
  import centrosome.index
  import centrosome.propagate
  import numpy
  import scipy.ndimage
  import scipy.sparse
  from cellprofiler_core.constants.measurement import COLTYPE_FLOAT
  from cellprofiler_core.module import Module
  from cellprofiler_core.setting import Binary
  from cellprofiler_core.setting.choice import Choice
  from cellprofiler_core.setting.subscriber import LabelSubscriber
  from cellprofiler_core.setting.text import Integer
  from cellprofiler.modules import _help
label_desc: Use image node_id 7 for calling the MeasureObjectOverlap obj's underlying member method code with example usage: obj.get_labels_mask(obj) and returns: labels_mask