code: def make_list(obj, cast=True):
      
      if isinstance(obj, list):
          return list(obj)
      elif is_lazy_iterable(obj):
          return list(obj)
      elif isinstance(obj, (tuple, set)) and cast:
          return list(obj)
      else:
          return [obj]
docs: Converts an object *obj* to a list and returns it. Objects of types *tuple* and *set* are
      converted if *cast* is *True*. Otherwise, and for all other types, *obj* is put in a new list.