public function isExpanded() {
        $baseClass=ClassInfo::baseDataClass($this->owner->class);
        $id=$this->owner->ID;
        return isset(self::$expanded[$baseClass][$id]) ? self::$expanded[$baseClass][$id] : false;
    }