RESTips: Simplify conditional