Correct, but beware: the concept suffers from the same pitfalls as multiple inheritance in C++ classes, it is the programmer's responsability to keep and maintain scope. So use with care.
Also note it needs a modeswitch, possibly for that reason.
The suggested inheritance is often the better option.