def _is_env_per_bucket():
 buckets = _get_buckets()
 if isinstance(buckets, dict):
  return True
 elif isinstance(buckets, list):
  return False
 else:
  raise ValueError('Incorrect s3.buckets type given in config')

def _is_env_per_bucket ( ) : buckets = _get_buckets ( ) if isinstance ( buckets , dict ) : return True elif isinstance ( buckets , list ) : return False else : raise ValueError ( 'Incorrect s3.buckets type given in config' )
return the configuration mode .