code: def non_increasing(L):
      return all((y - x) < 0.001 for x, y in zip(L, L[1:]))
  
file_path: xgboost/tests/python-gpu/test_monotonic_constraints.py
imports: import sys
  import numpy
  import pytest
  import xgboost
  from xgboost import testing
  import test_monotone_constraints
label_desc: Use image node_id 2 for calling a global function with example usage: non_increasing(L) and returns: all