@property<EOL><INDENT>def is_authenticated(self):<DEDENT>
token = self.con.token_backend.token<EOL>if not token:<EOL><INDENT>token = self.con.token_backend.get_token()<EOL><DEDENT>return token is not None and not token.is_expired<EOL>
Checks whether the library has the authentication and that is not expired
:return: True if authenticated, False otherwise