To check the type of an object there are at least two options: 

* The simplest and shortest one with help of the ``++instanceof++`` operator 
* The cumbersome and error-prone one with help of the ``++Class.isAssignableFrom(...)++`` method 
