Check if URL is relative