def METHOD_NAME(self, parsed_json):
    """Check that we are authenticated."""
    if 'status' in parsed_json and 'message' in parsed_json:
        if parsed_json.get('status') == 5:
            log.warning('Invalid username or password. Check your settings')
            return False
    return True