class_docstr: docstring
class_docstr_tok: ["docstring"]
code: def is_one(self):
      return self.element == self.domain.one
  
imports: from ..constructor import construct_domain
  from sympy.polys.domains import Domain, ZZ
label_desc: Use image node_id 21 for calling the DomainScalar obj's underlying member method code with example usage: obj.is_one() and returns: unknown