@classmethod
def hascreds(cls, config):
    """Determine if the given configuration has proper credentials
        Parameters
        ----------
        cls : class
            A Session class.
        config : dict
            GDAL configuration as a dict.
        Returns
        -------
        bool
        """
    return 'SWIFT_STORAGE_URL' in config and 'SWIFT_AUTH_TOKEN' in config
