code: def reset_env(exclude=[]):
      
      if os.getenv(env.INITED):
          wandb_keys = [key for key in os.environ.keys() if key.startswith(
              'WANDB_') and key not in exclude]
          for key in wandb_keys:
              del os.environ[key]
          return True
      else:
          return False
docs: Remove environment variables, used in Jupyter notebooks