List comprehension:

    def to_bool(lst):
      return [bool(el) for el in lst]