def METHOD_NAME(self, config: dict) -> dict:
    """Verify all the attributes in the config have been checked"""
    try:
        valid_config = AppConfigModel(**config)
    except ValueError as error:
        raise ConfigurationError("Invalid configuration.") from error
    else:
        return valid_config.dict(by_alias=True)