code: def in_config(self, key):
          
          # if the requested key is an alias, then return the proper key
          key = self._real_key(key)
  
          exists = self._config.get(key)
          return exists
docs: Check to see if the given key (or an alias) is in the config file.