code: def ipinfo_ip_check(ip):
      
      if not is_IPv4Address(ip):
          return None
  
      response = requests.get('http://ipinfo.io/%s/json' % ip)
      return response.json()
docs: Checks ipinfo.io for basic WHOIS-type data on an IP address