code: def validate(self, input_string):
          
          parsed_url = urlparse(url=input_string)
          return bool(parsed_url.scheme and parsed_url.netloc)
docs: Validate url
  
          :return: True if match / False otherwise