code: def test_is_sorted(self, order):
      @jit.rawkernel()
      def is_sorted(x, out):
          i = jit.threadIdx.x
          out[i] = jit.thrust.is_sorted(
              jit.thrust.device, x[i].begin(), x[i].end()
          )
  
      x = cupy.array(
          [
              [1, 4, 2, 8, 5, 7],
              [1, 2, 4, 5, 7, 8],
          ],
          order=order,
      )
      out = cupy.array([False, False], numpy.bool_)
      is_sorted[1, 2](x, out)
  
      expected = cupy.array([False, True])
      testing.assert_array_equal(out, expected)
  
imports: import numpy
  import pytest
  import cupy
  from cupy import testing
  from cupy_backends.cuda.api import runtime
  from cupyx import jit
label_desc: Use image node_id 18 for calling the TestThrust obj's underlying member method code with example usage: obj.test_is_sorted(order) without return types