expanded(full) {
        return baseStatePredicate.call(this, 'expanded', full);
    }
Query for all expanded nodes.

@param {boolean} full Retain full hiearchy.
@return {TreeNodes} Array of node objects.