test membership with IPAddress rather than raw integer