def list_check(ls: List[int]): if ls == []: return None else: do_action_with_list(ls)
Is Bad:
Not Bad: