Thought a bit about whether having OR instead of AND changes performance, and concluded it probably didn't. In particular, think about when it jumps to the inner part of the if/else condition