Checks to see if an instance's class is the same this.constructor. It is.