code: def unique(src, key=None):
      """``unique()`` returns a list of unique values, as determined by
      *key*, in the order they first appeared in the input iterable,
      *src*.
      >>> ones_n_zeros = '11010110001010010101010'
      >>> ''.join(unique(ones_n_zeros))
      '10'
  
      See :func:`unique_iter` docs for more details.
      """
      return list(unique_iter(src, key))
  
imports: import os
  import math
  import time
  import codecs
  import random
  import socket
  import hashlib
  import itertools
  from collections import Mapping, Sequence, Set, ItemsView
label_desc: Use image node_id 18 for calling a global function with example usage: unique(src, key) and returns: list