- Added a method to check if the current object has the given class as parent: _hasParentClass()