class_docstr: Tests for ``ParamArg``.
class_docstr_tok: ["Tests","for","``","ParamArg","``","."]
docstr: Tests that ``is_arg()`` returns True iff the argument is a member of ``ParamArg`` or
  one of its values.
docstr_tok: ["Tests","that","``","is_arg","(",")","``","returns","True","iff","the","argument","is","a","member","of","``","ParamArg","``","or","one","of","its","values","."]
code: def test_is_arg(self, val, expect):
      """Tests that ``is_arg()`` returns True iff the argument is a member of ``ParamArg`` or
      one of its values."""
      assert ParamArg.is_arg(val) == expect
  
file_path: pennylane/tests/data/data_manager/test_params.py
imports: import pytest
  from pennylane.data.data_manager.params import Description, ParamArg, format_param_args, format_params
label_desc: Use image node_id 2 for calling the TestParamArg obj's underlying member method code with example usage: obj.test_is_arg(val, expect) without return types