how to find a item is in list of not code example Example: python all elements not in list [x for x in item if x not in z]