code: def _is_c_contiguous(data):
      while isinstance(data, list):
          data = data[0]
  
      return data.flags.c_contiguous
  
imports: import warnings
  import numbers
  import numpy
  from scipy import sparse
  from .None import cntk_py
  from .device import use_default_device, cpu, DeviceKind
  from cntk.internal import typemap
  from cntk.internal.sanitize import sanitize_batch, _sparse_to_dense_network_cache, data_type_to_dtype
label_desc: Use image node_id 1 for calling a global function with example usage: _is_c_contiguous(data) and returns: data