code: def has_leaves(self):
      return self._leafs_ is not None and len(self._leafs_) > 0
  
imports: from enum import IntEnum
  from typing import List
  import numpy
  from onnx.reference.op_run import OpRun
label_desc: Use image node_id 5 for calling the NgramPart obj's underlying member method code with example usage: obj.has_leaves() and returns: unknown