code: def target_to_list(target):
      
  
      # Is it an IPv4 address ?
      new_list = target_to_ipv4(target)
      # Is it an IPv6 address ?
      if not new_list:
          new_list = target_to_ipv6(target)
      # Is it an IPv4 CIDR ?
      if not new_list:
          new_list = target_to_ipv4_cidr(target)
      # Is it an IPv6 CIDR ?
      if not new_list:
          new_list = target_to_ipv6_cidr(target)
      # Is it an IPv4 short-range ?
      if not new_list:
          new_list = target_to_ipv4_short(target)
      # Is it an IPv4 long-range ?
      if not new_list:
          new_list = target_to_ipv4_long(target)
      # Is it an IPv6 short-range ?
      if not new_list:
          new_list = target_to_ipv6_short(target)
      # Is it an IPv6 long-range ?
      if not new_list:
          new_list = target_to_ipv6_long(target)
      # Is it a hostname ?
      if not new_list:
          new_list = target_to_hostname(target)
      return new_list
docs: Attempt to return a list of single hosts from a target string.