How to check child class of a virtual parent class?

Can’t understand it, I’m too newbie to get it working …