Use ```instanceof```