Fixed is_parent method, and made check_type_is use it, to enable polymorphism