public function checkAlias(array $configuration)
    {
        foreach ($configuration as $classNamespace => $classConfiguration) {
            if (
                isset($classConfiguration['alias']) &&
                $classConfiguration['alias']
            ) {
                return $this;
            }
        }

        throw new TranslationDefinitionException();
    }