Implementation of oclIsTypeOf