@staticmethod
    def _check_ofport(port_id, port_info):
        if [UNASSIGNED_OFPORT, INVALID_OFPORT] in port_info['ofport']:
            LOG.warning(_LW("ofport: %(ofport)s for VIF: %(vif)s "
                            "is not a positive integer"),
                        {'ofport': port_info['ofport'], 'vif': port_id})
            return False
        return True
dataset/ETHPy150Open openstack/neutron/neutron/agent/common/ovs_lib.py/OVSBridge._check_ofport/swapped operands of `in`