Seems a #match? method or override ==  on an entry_point method would be better and you could then use #include?. Follows [Tell Don't Ask](http://pragprog.com/articles/tell-dont-ask) by not asking state and making a decision externally based on the state of the entry point.