Turned 'isClass' into a bool value