Use instanceOf() instead of "instanceof" + equalTo(true)