lib/url: Export is_url() function