def domain_recipients_valid (domain_recipients=[]):
    """Confirm that the first email recipient @smtp_server_domain could correspond to a valid project (i.e., it a new project or an int) and return it"""
    result = None
    try:
        if action_mailboxes.keys() in domain_recipients[0] \
           or domain_recipients[0] in pass_through_mailboxes \
           or default_mailbox is not None:
            result = domain_recipients[0]
    except IndexError:
        pass
    return result
dataset/ETHPy150Open dpapathanasiou/intelligent-smtp-responder/utils/email_utils.py/domain_recipients_valid/swapped operands of `in`