code: def _all_feature_names(name):
      # type: (Union[str, bytes, List[Dict]]) -> List[str]
      """All feature names for a feature: usually just the feature itself,
      but can be several features for unhashed features with collisions.
      """
      if isinstance(name, bytes):
          return [name.decode("utf8")]
      elif isinstance(name, list):
          return [x["name"] for x in name]
      else:
          return [name]
  
file_path: eli5/eli5/_feature_names.py
imports: import re
  import six
  from typing import Any, Iterable, Iterator, Tuple, Sized, List, Optional, Dict, Union, Callable, Pattern
  import numpy
  import scipy.sparse
label_desc: Use image node_id 1 for calling a global function with example usage: _all_feature_names(name) and returns: list, unknown, list