instanceof
チェックを使用した
if
ブロックで式を囲みます。