Minor Change

Turning a method returning boolean if(something) into a single line.