code: def test_cut_out_of_bounds():
      arr = np.random.default_rng(2).standard_normal(100)
      result = cut(arr, [-1, 0, 1])
  
      mask = isna(result)
      ex_mask = (arr < -1) | (arr > 1)
      tm.assert_numpy_array_equal(mask, ex_mask)
  
imports: import numpy
  import pytest
  import pandas
  from pandas import Categorical, DataFrame, DatetimeIndex, Index, Interval, IntervalIndex, Series, TimedeltaIndex, Timestamp, cut, date_range, interval_range, isna, qcut, timedelta_range, to_datetime
  import pandas._testing
  from pandas.api.types import CategoricalDtype
  import pandas.core.reshape.tile
label_desc: Use image node_id 20 for calling a global function with example usage: test_cut_out_of_bounds() without return types