@property
    def has_logged_in(self):
        """Check whether the API has logged in"""
        r = self.http.get(CHECKPOINT_URL)
        if r.state != False:
            return True
        # If logged out, flush cache
        self._reset_cache()
        return False
dataset/ETHPy150Open shichao-an/115wangpan/u115/api.py/API.has_logged_in/operator `is` -> `!=`