class SpringStandardExpressions {


    /**
     * Name used for registering whether <i>Spring EL compilation</i> should be enabled if available or not.
     */
    public static final String ENABLE_SPRING_EL_COMPILER_ATTRIBUTE_NAME = "EnableSpringELCompiler";




    private SpringStandardExpressions() {
        super();
    }


    /**
     * <p>
     *   Check whether compilation of Spring EL expressions should be enabled or not.
     * </p>
     * <p>
     *   This is done through configuration methods at the {@link SpringStandardDialect}
     *   instance being used, and its value is offered to the engine as an <em>execution attribute</em>.
     * </p>
     *
     * @param configuration the configuration object for the current template execution environment.
     * @return {@code true} if the SpEL compiler should be enabled if available, {@code false} if not.
     */
    public static boolean isSpringELCompilerEnabled(final IEngineConfiguration configuration) {<FILL_FUNCTION_BODY>}


}

        final Object enableSpringELCompiler =
                configuration.getExecutionAttributes().get(ENABLE_SPRING_EL_COMPILER_ATTRIBUTE_NAME);
        if (enableSpringELCompiler == null) {
            return false;
        }
        if (!(enableSpringELCompiler instanceof Boolean)) {
            throw new TemplateProcessingException(
                    "A value for the \"" + ENABLE_SPRING_EL_COMPILER_ATTRIBUTE_NAME + "\" execution attribute " +
                    "has been specified, but it is not of the required type Boolean. " +
                    "(" + enableSpringELCompiler.getClass().getName() + ")");
        }
        return ((Boolean) enableSpringELCompiler).booleanValue();
    
<no_super_class>