public Optional<Symbol> findSymbol(Symbol scope, SymbolType type, String shortIdentifier) {
        List<Symbol> results = findSymbols(scope, type, shortIdentifier);
        if (results.isEmpty()) return Optional.empty();

        return Optional.of(results.get(0));
    }
Searches for the specified symbol in the index.

@param symbol The symbol to find, should be UNRESOLVED
@return An Optional containing the found symbol, or an empty Optional if the symbol is not found.
integration/schema-language-server/language-server/src/main/java/ai/vespa/schemals/index/SchemaIndex.java