code: def _is_enum(feature_values, enum_threshold):
      are_all_ints = np.vectorize(lambda val: float(val).is_integer())
      return (
          np.min(feature_values) >= 0
          and len(
              np.unique(feature_values)
          )  # All values must be positive
          <= enum_threshold
          and np.all(are_all_ints(feature_values))
      )
  
imports: import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: _is_enum(feature_values, enum_threshold) and returns: unknown