Creating one list from sub-lists based on whether it contains at least one "true"