code: def test_leaves_empty():
      """Test the reduce_to_leaves method on an HROI containing no node"""
      hroi = make_hroi(empty=True)
      lroi = hroi.reduce_to_leaves()
      assert lroi.k == 0
  
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 14 for calling a global function with example usage: test_leaves_empty() without return types