@JsonIgnore
    public boolean isRefreshToken() {
        return token instanceof OAuth20RefreshToken;
    }
This is {@link AccessTokenRequestContext}.

@author Misagh Moayyed
@since 5.1.0
support/cas-server-support-oauth-api/src/main/java/org/apereo/cas/support/oauth/web/response/accesstoken/ext/AccessTokenRequestContext.java