<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def isLoggedIn(self):
 """ Sends a request to Facebook to check the login status :return: True if the client is still logged in :rtype: bool """

        # 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"]