code: def alias(col, mapping):
      
      if not is_list(col):
          col = [col]
  
      def _block(dct):
          return rename(dct, mapping)
  
      return map(_block, col)
docs: Returns a collection of dictionaries with the keys renamed according to
          the mapping
  
          >>> libraries = [{"isbn": 1, "ed": 1}, {"isbn": 2, "ed": 2}]
          >>> alias(libraries, {"ed": "edition"})
          [{'edition': 1, 'isbn': 1}, {'edition': 2, 'isbn': 2}]
  
          >>> alias({"a": 1}, {"a": "b"})
          [{'b': 1}]