def IsEnabled(feature_name, default=False):
  """Indicates if a specific feature flag is enabled.

  Args:
    feature_name: The name of the feature flag to check.
    default: Default value if the flags are not initialized (In a test
             environment for example).

  Returns:
    True/False if the flag is set/not set or default if the feature flags
    were not initialized.
  """
  try:

    return feature_name in __builtin__._APPENGINE_FEATURE_FLAGS
  except __HOLE__:
    return default
dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/runtime/features/__init__.py/IsEnabled