code: def __get_known_node(self, ip, host):
          '''
          Look for known nodes by IP and HOST.
          If found by HOST, add the IP if not already known.
  
          Return:
              node:       Node, if found. Otherwise None.
              updated:    1=updated, 0=not updated
          '''
          # already known by IP ?
          for ex in self.nodes:
              for exip in ex.ip:
                  if (exip == '0.0.0.0'):
                      continue
                  if (exip == ip):
                      return (ex, 0)
  
          # already known by HOST ?
          node = self.__get_known_node_by_host(host)
          if (node != None):
              # node already known
              if (ip not in node.ip):
                  node.ip.append(ip)
                  return (node, 1)
              return (node, 0)
  
          return (None, 0f __get_known_node(self, ip, host):
          '''
          Look for known nodes by IP and HOST.
          If found by HOST, add the IP if not already known.
  
          Return:
              node:       Node, if found. Otherwise None.
              updated:    1=updated, 0=not updated
          '''
          # already known by IP ?
          for ex in self.nodes:
              for exip in ex.ip:
                  if (exip == '0.0.0.0'):
                      continue
                  if (exip == ip):
                      return (ex, 0)
  
          # already known by HOST ?
          node = self.__get_known_node_by_host(host)
          if (node != None):
              # node already known
              if (ip not in node.ip):
                  node.ip.append(ip)
                  return (node, 1)
              return (node, 0)
  
          return (None, 0)
docs: Look for known nodes by IP and HOST.
          If found by HOST, add the IP if not already known.
  
          Return:
              node:       Node, if found. Otherwise None.
              updated:    1=updated, 0=not updated