instancja trzepotania

if (instanceOf(object, MyClass)) {
   print ('instance of MyClass');
} else {
   print('unknown instance');
}
OPETO