code: protected boolean hasTokenExpired(final Token token) {
  
  		log.debug("OAuthTokenManager.hasTokenExpired");
  
  		final long currentTime = System.currentTimeMillis() / 1000L;
  
  		if (Long.valueOf(token.getExpiration()) < currentTime) {
  			retrieveToken();
  			return true;
  		}
  
  		return false;
  	}
docs: Check if the current cached token has expired. If it has a synchronous
  http call is made to the IAM service to retrieve & store a new token
  
  @param token
  The IAM Token object
  
  @return boolean Indicates if the currently cached token has expired