isValidToken

This method checks whether or not a token is valid. For the token to validate, it must exist in the list of authenticate users and must also not be expired.