code: def is_cloud_env(detected):
      """Detect whether it is running in a cloud environment."""
      cloud_env = [
          "databricks",
          "azure",
          "azureml_vm",
          "kaggle",
          "sagemaker",
          "binder",
          "colab",
      ]
      if len(set(cloud_env).intersection(detected)) != 0:
          return True
      else:
          return False
  
file_path: responsible-ai-toolbox/rai_core_flask/rai_core_flask/environment_detector.py
imports: import os
  from .environments import AzureNBEnvironment, CredentialedVMEnvironment, DatabricksEnvironment, LocalIPythonEnvironment, PublicVMEnvironment
label_desc: Use image node_id 11 for calling a global function with example usage: is_cloud_env(detected) and returns: True, False