class Aws::InstanceProfileCredentials

def token_set?

def token_set?
  @token && !@token.expired?
end