Changed the boolean returned from a primitive to the correct class.