Revision combining statements using the logical OR operator

I imagine there is an even better way of doing this.