code: def as_alias_handler(alias_list):
      
      list_ = list()
      for alias in alias_list:
          if alias.asname:
              list_.append(alias.asname)
          else:
              list_.append(alias.name)
      return list_
docs: Returns a list of all the names that will be called.