docs: function hasValidToken (storageLocation) {
  	var token = getStoredToken(storageLocation);
  	if (token) {
  		try {
  			var payload = decode(token);
  			return payloadIsValid(payload);
  		} catch (error) {
  			return false;
  		}
  	}
  	return false;
  }