code: def is_global(self):
          
          return (not (self.network_address in IPv4Network('100.64.0.0/10') and
                  self.broadcast_address in IPv4Network('100.64.0.0/10')) and
                  not self.is_private)
docs: Test if this address is allocated for public networks.
  
          Returns:
              A boolean, True if the address is not reserved per
              iana-ipv4-special-registry.