def user_enabled(client, username):
    """
    Checks if user is enabled. Takes:
    * keystone client object
    * username
    Returns bool
    """
    return client.users.list(name=username)[0].enabled