public function has(string $key): bool
    {
        if (!is_array($this->data)) {
            throw new ConfigException('Unable to get config data when config wasn\'t loaded for config name=' . $this->name);
        }

        return array_key_exists($key, $this->data);
    }