def is_affiliate_empty(affiliate_obj):
    """
    Check for an empty Affiliate object to detect for empty Excel rows.
    :param affiliate_obj: Affiliate
    :return: Boolean
    """
    if affiliate_obj.affiliate_name is None \
            and affiliate_obj.is_accs is False \
            and affiliate_obj.is_pcp is False \
            and affiliate_obj.is_cbfs is False \
            and affiliate_obj.is_pact is False \
            and affiliate_obj.is_respite_or_css is False \
            and affiliate_obj.is_out_patient is False \
            and affiliate_obj.is_day_treatment is False \
            and affiliate_obj.is_csp is False \
            and affiliate_obj.is_emergency_svs is False \
            and affiliate_obj.is_ltss is False \
            and affiliate_obj.assigned_to is None:
        return True
    return False