Added methods to check if ip is in interface list