public function hasConfig($aliasOrClass)
        {
            $key = ($this->hasAlias($aliasOrClass)) ? 'alias:' . $this->getBaseAlias($aliasOrClass) : $aliasOrClass;

            if (!isset($this->configurations[$key])) {
                return false;
            }

            if ($this->configurations[$key] === $this->configurationTemplate) {
                return false;
            }

            return true;
        }