public boolean gatewayIP_Pool_overlap() { for (NeutronSubnetIPAllocationPool pool : allocationPools) { if (ipVersion == IPV4_VERSION && pool.contains(gatewayIP)) { return true; } if (ipVersion == IPV6_VERSION && pool.containsV6(gatewayIP)) { return true; } } return false; }