src/components/meta/Base.js
function(parent) {
            var clazzParent = this;

            while (clazzParent) {
                if (clazzParent === parent || clazzParent.__name === parent) {
                    return true;
                }
                clazzParent = clazzParent.__parent;
            }

            return false;
        }
function(parent) {
            var clazzParent = this;

            while (clazzParent) {
                if (clazzParent === parent || clazzParent.__name === parent) {
                    return true;
                }
                clazzParent = clazzParent.__parent;
            }

            return false;
        }
function ( parent ) { var clazzParent = this ; while ( clazzParent ) { if ( clazzParent === parent || clazzParent . __name === parent ) { return true ; } clazzParent = clazzParent . __parent ; } return false ; }
Checks whether this clazz is sub clazz of specified one

@param   {clazz|string} parent Parent clazz
@returns {boolean} true if this clazz is sub clazz of specified one

@this {clazz}
Checks whether this clazz is sub clazz of specified one