Check whether or not the provided url refers to a local address or not