Same as above. But I also recommend putting all these conditions in a helper method that returns a boolean.