code: def is_url(value, **kwargs):
      
      try:
          value = validators.url(value, **kwargs)
      except SyntaxError as error:
          raise error
      except Exception:
          return False
  
      return True
docs: Indicate whether ``value`` is a URL.
  
      .. note::
  
        URL validation is...complicated. The methodology that we have
        adopted here is *generally* compliant with
        `RFC 1738 <https://tools.ietf.org/html/rfc1738>`_,
        `RFC 6761 <https://tools.ietf.org/html/rfc6761>`_,
        `RFC 2181 <https://tools.ietf.org/html/rfc2181>`_  and uses a combination of
        string parsing and regular expressions,
  
        This approach ensures more complete coverage for unusual edge cases, while
        still letting us use regular expressions that perform quickly.
  
      :param value: The value to evaluate.
  
      :param allow_special_ips: If ``True``, will succeed when validating special IP
        addresses, such as loopback IPs like ``127.0.0.1`` or ``0.0.0.0``. If ``False``,
        will fail if ``value`` is a special IP address. Defaults to ``False``.
      :type allow_special_ips: :class:`bool <python:bool>`
  
      :returns: ``True`` if ``value`` is valid, ``False`` if it is not.
      :rtype: :class:`bool <python:bool>`
  
      :raises SyntaxError: if ``kwargs`` contains duplicate keyword parameters or duplicates
        keyword parameters passed to the underlying validator