'Check that we are authenticated.'

@staticmethod
def _check_auth_from_data(parsed_json):

    if ((u'status' in parsed_json) and (u'message' in parsed_json) and (parsed_json.get(u'status') == 5)):
        logger.log(u'Invalid    username    or    password.    Check    your    settings', logger.WARNING)
    return True
