Its nicer to have those 2 if statements in a single line, connected with &&