'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.'

def _check_update_has_allowed_address_pairs(self, port):

    return ((addr_pair.ADDRESS_PAIRS in port['port']) and self._has_address_pairs(port))
