Use a `instanceof` check