def METHOD_NAME(self):
    if not self.username or not self.password:
        raise AuthException('Your authentication credentials for {0} are missing,'
                            ' check your config.'.format(self.name))
    return True