Use an `instanceof` check