Should use an `instanceof` check