class_docstr: Model provides an Estimator-like API similar to Keras.
code: def _is_trainable(field_info: tx.FieldInfo) -> bool:
      if isinstance(field_info.module, tx.Module):
          return (
              not field_info.module.frozen
              and field_info.module.training
          )
      else:
          return True
  
imports: import typing
  import flax
  import jax
  import jax.numpy
  import numpy
  import treex
  from optax import GradientTransformation
  from elegy import types, utils
  from elegy.model.model_base import ModelBase
  from elegy.model.model_core import GradStepOutput, PredStepOutput, TestStepOutput, TrainStepOutput
label_desc: Use image node_id 9 for calling the Model obj's underlying member method code with example usage: obj._is_trainable(field_info) and returns: unknown, True