Open
Description
When determinig whether given credentials are valid, I currently need to inquire them and catch an exception. Like this:
try:
cred.lifetime
# valid
except ExpiredCredentialsError:
# invalid
It would be nice if the Credentials object itself had a valid
property that would provide this information.