code: def isLoggedIn(self):
          
          # Send a request to the login url, to see if we're directed to the home page
          r = self._cleanGet(self.req_url.LOGIN, allow_redirects=False)
          return "Location" in r.headers and "home" in r.headers["Location"]
docs: Sends a request to Facebook to check the login status
  
          :return: True if the client is still logged in
          :rtype: bool