default boolean isValidSecurityQuestionAnswer(final PasswordManagementQuery query, final String question,
                                                  final String answer, final String input) {
        return StringUtils.isNotBlank(answer) && answer.equals(input);
    }
Checks a security questions answer.

@param query    the query
@param question the text of the question
@param answer   stored answer
@param input    user response to question
@return whether the answer is correct
support/cas-server-support-pm-core/src/main/java/org/apereo/cas/pm/PasswordManagementService.java