Python Check If String Is Url