class_docstr: Matches patterns to apply transforms in a tf.keras model graph.
code: def _is_functional_model(self, model):
      return (
          isinstance(model, keras.Model)
          and not isinstance(model, keras.Sequential)
          and model._is_graph_network
      )
  
imports: import collections
  import copy
  import re
  import tensorflow
  from tensorflow_model_optimization.python.core.quantization.keras.graph_transformations import transforms
label_desc: Use image node_id 3 for calling the ModelTransformer obj's underlying member method code with example usage: obj._is_functional_model(model) and returns: unknown