def is_expired(self):
        """Whether or not the session has expired

        Returns:
            bool: True if the session has expired, otherwise false
        """
        # Add a 10 second buffer in case the token is just about to expire
        return self._expires_at < time() - 10
dataset/ETHPy150Open OneDrive/onedrive-sdk-python/src/onedrivesdk/session.py/Session.is_expired/original