I published a new version of Moose Development in which i implemented FAMIXAbstractStructuralEntity>>isStub in this way:
isStub "a fAMIXStructuralEntity is stub if its declared as stub or if it belongs to a stub famix element"
^super isStub or: [self belongsTo notNil and: [self belongsTo isStub]]