code: def validate_url(uri_string):
      
      try:
          result = urlparse(uri_string)
          has_elements = all([result.scheme, result.netloc, result.path])
          is_http = result.scheme == "http" or result.scheme == "https"
          return True if has_elements and is_http else False
  
      except Exception:
          return False
docs: Valida si un string es una URI válida.