default boolean isFunctionName(PsiElement file, String name) {
        for (SdFunctionDefinition macro : PsiTreeUtil.collectElementsOfType(file, SdFunctionDefinition.class)) {
            if (name.equals(macro.getName())) {
                return true;
            }
        }
        return false;
    }
This interface represents an identifier in the SD language (regular identifiers and identifiers with dash).
@author Shahar Ariel
integration/intellij/src/main/java/ai/vespa/intellij/schema/psi/SdIdentifier.java