code: def is_inside_cluster() -> bool:
      """Whether current running environment is inside the kubernetes cluster."""
      return _factory.inside_cluster
  
imports: import datetime
  import enum
  import os
  import re
  import time
  from typing import Callable, Dict, List, Optional
  from absl import logging
  from kubernetes import client
  from kubernetes import config
label_desc: Use image node_id 7 for calling a global function with example usage: is_inside_cluster() and returns: _factory