code: def is_1d(array: np.ndarray) -> bool:
      return len(array.shape) == 1
  
imports: import numpy
  import statsmodels.api
label_desc: Use image node_id 5 for calling a global function with example usage: is_1d(array) and returns: unknown