code: def _check_data_format(keras_layer):
      if hasattr(keras_layer, ("data_format")):
          if keras_layer.data_format != "channels_last":
              raise ValueError(
                  "Converter currently supports data_format = "
                  "'channels_last' only."
              )
  
imports: from .None import _utils
  import logging
  import keras
  import numpy
  from ...proto import NeuralNetwork_pb2
  from distutils.version import StrictVersion
label_desc: Use image node_id 5 for calling a global function with example usage: _check_data_format(keras_layer) without return types