code: def is_multi_dimensional(matrix):
      if hasattr(matrix, "ndim") and matrix.ndim > 1:
          return True
      if hasattr(matrix, "shape") and matrix.shape[1]:
          return True
      return False
  
file_path: MachineLearningNotebooks/how-to-use-azureml/automated-machine-learning/regression-explanation-featurization/score_explain.py
imports: import pandas
  import joblib
  from azureml.core.model import Model
  from azureml.train.automl.runtime.automl_explain_utilities import automl_setup_model_explanations
  import scipy
label_desc: Use image node_id 2 for calling a global function with example usage: is_multi_dimensional(matrix) and returns: False, True, True