public boolean isCached(final Credentials credentials) {
        return this.store.get(credentials).isPresent();
    }
<p>isCached.</p>

@param credentials a {@link Credentials} object
@return a boolean
pac4j-core/src/main/java/org/pac4j/core/credentials/authenticator/LocalCachingAuthenticator.java