code: def is_sorted_ascending(a):
      """Check if a numpy array is sorted."""
      return (np.fmax.accumulate(a) <= a).all()
  
file_path: catalyst/catalyst/pipeline/loaders/utils.py
imports: import datetime
  import numpy
  import pandas
  from catalyst.pipeline.common import TS_FIELD_NAME, SID_FIELD_NAME
  from catalyst.utils.numpy_utils import categorical_dtype
  from catalyst.utils.pandas_utils import mask_between_time
label_desc: Use image node_id 1 for calling a global function with example usage: is_sorted_ascending(a) and returns: unknown