def _check_update_has_allowed_address_pairs(self, port):
        """Determine if request has an allowed address pair.

        Return True if the port parameter has a non-empty
        'allowed_address_pairs' attribute. Otherwise returns False.
        """
        return (addr_pair.ADDRESS_PAIRS in port['port'] and
                self._has_address_pairs(port))
dataset/ETHPy150Open openstack/neutron/neutron/db/allowedaddresspairs_db.py/AllowedAddressPairsMixin._check_update_has_allowed_address_pairs/original