determine if a list contains other lists December 29, 2023 by Tarik any(isinstance(el, list) for el in input_list)