code: def is_ip_filter(ip, options=None):
      '''
      Returns a bool telling if the passed IP is a valid IPv4 or IPv6 address.
      '''
      return is_ipv4_filter(ip, options=options) or is_ipv6_filter(ip, options=optionsf is_ip_filter(ip, options=None):
      '''
      Returns a bool telling if the passed IP is a valid IPv4 or IPv6 address.
      '''
      return is_ipv4_filter(ip, options=options) or is_ipv6_filter(ip, options=options)
docs: Returns a bool telling if the passed IP is a valid IPv4 or IPv6 address.