I'm thinking `if any([o == '*' for o in …])`; not to remove the tuple comparison.