code: def get_entry_type(hosts_entry=None):
          
          if hosts_entry and isinstance(hosts_entry, str):
              entry = hosts_entry.strip()
              if not entry or not entry[0] or entry[0] == "\n":
                  return 'blank'
              if entry[0] == "#":
                  return 'comment'
              entry_chunks = entry.split()
              if is_ipv6(entry_chunks[0]):
                  return 'ipv6'
              if is_ipv4(entry_chunks[0]):
                  return 'ipv4'
docs: Return the type of entry for the line of hosts file passed
          :param hosts_entry: A line from the hosts file
          :return: 'comment' | 'blank' | 'ipv4' | 'ipv6'