Added utils-style IP-check functions to the network module