code: def func_scalar(self, xp, a, scalar):
      if self.is_scalar_rhs:
          return xp.maximum(a, scalar)
      else:
          return xp.maximum(scalar, a)
  
imports: import chainer
  import numpy
  import pytest
  import chainerx
  import chainerx.testing
  from chainerx_tests import array_utils
  from chainerx_tests import dtype_utils
  from chainerx_tests import math_utils
  from chainerx_tests import op_utils
label_desc: Use image node_id 1 for calling the TestMaximumScalar obj's underlying member method code with example usage: obj.func_scalar(xp, a, scalar) and returns: xp, xp