'Return True if the router\'s gateway port is serving floating IPs.'

def router_gw_port_has_floating_ips(self, context, router_id):

    return bool(self.get_floatingips_count(context, {'router_id': [router_id]}))
