function IsTokenValid: boolean;
Description
Checks whether the token is valid.
Returns True if a token is loaded and the remaining time before expiration exceeds the value specified in the RequestTimeAllocation property.
This method performs only local checks and doesn't contact the REST service.