Check if an URL is relative