public static Boolean evalBool(String script, Object input) throws ScriptException {
        return toBoolean(eval(script, input));
    }
Evaluates the script with the help of input provided but converts the result to a boolean
value.

@param script Script to be evaluated.
@param input Input parameters.
@throws ScriptException
@return True or False based on the result of the evaluated expression.
core/src/main/java/com/netflix/conductor/core/events/ScriptEvaluator.java