simplified IPv4 check