code: def hascreds():
      warnings.warn(
          "Please use Env.session.hascreds() instead",
          FionaDeprecationWarning,
      )
      return local._env is not None and all(
          key in local._env.get_config_options()
          for key in ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY"]
      )
  
imports: from functools import wraps, total_ordering
  from inspect import getfullargspec
  import logging
  import os
  import re
  import threading
  import warnings
  import attr
  from fiona._env import GDALDataFinder, GDALEnv, PROJDataFinder, calc_gdal_version_num, get_gdal_config, get_gdal_release_name, get_gdal_version_num, set_gdal_config, set_proj_data_search_path
  from fiona.errors import EnvError, FionaDeprecationWarning, GDALVersionError
  from fiona.session import Session, DummySession
label_desc: Use image node_id 5 for calling a global function with example usage: hascreds() and returns: unknown