def ldap_user(api, alias):
    """
    Checks the UnityAPI to determine if user is synced to ActiveDirectory. Returns Boolean Result
    :param api: UnityAPI Object
    :param alias: Alias to search for
    :return: Boolean
    """
    user_config = api.get_user_config(alias)

    if user_config["LdapType"] == "3":
        return True
    else:
        return False