class_docstr: This discretization assumes that the field is a linear function of the
  parameters contained in `Linear.params`.
class_docstr_tok: ["This","discretization","assumes","that","the","field","is","a","linear","function","of","the","parameters","contained","in","`","Linear.params","`","."]
docstr: Checks if a field is complex.
  
  Returns:
    bool: Whether the field is complex.
docstr_tok: ["Checks","if","a","field","is","complex",".","Returns",":","bool",":","Whether","the","field","is","complex","."]
code: def is_complex(self) -> bool:
      r"""Checks if a field is complex.
  
      Returns:
        bool: Whether the field is complex.
      """
      return (
          self.params.dtype == jnp.complex64
          or self.params.dtype == jnp.complex128
      )
  
imports: import warnings
  from typing import Callable, TypeVar
  import equinox
  from equinox import tree_equal
  from jax import eval_shape
  from jax import numpy
  from jax import vmap
  from jaxtyping import PyTree
  from jaxdf.core import Field
  from jaxdf.geometry import Domain
label_desc: Use image node_id 2 for calling the Linear obj's underlying member method code with example usage: obj.is_complex() and returns: unknown