public function hasBundle($name) {
        if (isset($this->_globalConfig['bundles'][$name])) {
            return true;
        } else {
            foreach ($this->_bundleConfig as $value) {
                if ($value['short_name'] == $name) {
                    return true;
                }
            }
            return false;
        }
    }