code: def exists(self, address=None, names=None, comment=None):
          
          for entry in self.entries:
              if entry.entry_type in ('ipv4', 'ipv6'):
                  if address and address == entry.address:
                      return True
                  if names:
                      for name in names:
                          if name in entry.names:
                              return True
              elif entry.entry_type == 'comment' and entry.comment == comment:
                  return True
          return False
docs: Determine if the supplied address and/or names, or comment, exists in a HostsEntry within Hosts
          :param address: An ipv4 or ipv6 address to search for
          :param names: A list of names to search for
          :param comment: A comment to search for
          :return: True if a supplied address, name, or comment is found. Otherwise, False.