class_docstr: Custom mutation or recombination operation
  This is an experimental API
  
  Call on a Parameter to create a new Parameter with the
  provided mutation/recombination.
code: def _check_type(self, param: core.Layered) -> None:
      if not isinstance(param, self._TYPE):
          raise RuntimeError(
              f"{self.__class__.__name__} must be applied to {self._TYPE} parameters, got: {type(param)}"
          )
  
imports: import typing
  import numpy
  from .None import core
  from .None import transforms
  from .data import Data, Scalar
  from .choice import Choice
  from .None import _layering
label_desc: Use image node_id 2 for calling the Mutation obj's underlying member method code with example usage: obj._check_type(param) without return types