code: def make_hroi(empty=False):
      """Create a multiple ROI instance"""
      labels = np.zeros(shape)
      if not empty:
          labels[4:, 5:, 6:] = 1
          labels[:2, 0:2, 0:2] = 2
          labels[:2, 5:, 6:] = 3
          labels[:2, 0:2, 6:] = 4
          labels[4:, 0:2, 6:] = 5
          labels[4:, 0:2, 0:2] = 6
          labels[4:, 5:, 0:2] = 7
          labels[:2, 5:, 0:2] = 8
          parents = np.zeros(9)
      else:
          labels = -np.ones(shape)
          parents = np.array([])
  
      sd = subdomain_from_array(labels, affine=None, nn=0)
      hroi = make_hroi_from_subdomain(sd, parents)
      return hroi
  
imports: import numpy
  from numpy.testing import assert_array_equal
  from ..discrete_domain import domain_from_binary_array
  from ..hroi import HROI_as_discrete_domain_blobs, make_hroi_from_subdomain
  from ..mroi import subdomain_from_array
label_desc: Use image node_id 2 for calling a global function with example usage: make_hroi(empty) and returns: hroi