@Override
    public boolean supports(final Credential credential) {
        return provider.getObject().getFailureModeEvaluator() != null && credential != null;
    }
This is {@link MultifactorAuthenticationProviderMetadataPopulator}.

@author Misagh Moayyed
@since 6.6.0
core/cas-server-core-authentication-api/src/main/java/org/apereo/cas/authentication/metadata/MultifactorAuthenticationProviderMetadataPopulator.java