code: def _check_steps(a, b):
      """Check that the steps of ``a`` and ``b`` are both 1.
  
      Parameters
      ----------
      a : range
          The first range to check.
      b : range
          The second range to check.
  
      Raises
      ------
      ValueError
          Raised when either step is not 1.
      """
      if a.step != 1:
          raise ValueError(
              "a.step must be equal to 1, got: %s" % a.step
          )
      if b.step != 1:
          raise ValueError(
              "b.step must be equal to 1, got: %s" % b.step
          )
  
file_path: catalyst/catalyst/utils/range.py
imports: import operator
  from six import PY2
  from toolz import peek
  from catalyst.utils.functional import foldr
label_desc: Use image node_id 3 for calling a global function with example usage: _check_steps(a, b) without return types