code: def _coerce_to_list(obj):
      """Return [obj] if obj is not a list, otherwise obj."""
      if not isinstance(obj, list):
          return [obj]
      else:
          return obj
  
file_path: sktime/sktime/param_est/base.py
imports: from sktime.base import BaseEstimator
  from sktime.datatypes import VectorizedDF, check_is_scitype, convert, scitype_to_mtype, update_data
  from sktime.utils.sklearn import is_sklearn_transformer
  from sktime.utils.validation._dependencies import _check_estimator_deps
  from sktime.utils.warnings import warn
label_desc: Use image node_id 1 for calling a global function with example usage: _coerce_to_list(obj) and returns: list, obj