Correct way to define conditional OR statement inline to