python check if item is in multiple lists