code: @Override
      @FFDCIgnore(Exception.class)
      public final boolean isValid() throws InvalidTokenException, TokenExpiredException {
          boolean verified = false;
  
          validateExpiration();
  
          try {
              verified = verify();
          } catch (Exception e) {
              verified = false;
              throw new InvalidTokenException(e.getMessage(), e);
          }
  
          if (!verified) {
              if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                  Tr.debug(this, tc, "Invalid signature of the token " + this);
              }
          }
  
          return verified;
      }
docs: {@inheritDoc}