<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def cookies(self):
 """ Returns a list of all cookies in cookie string format. """

    return [line.strip()
            for line in self.conn.issue_command("GetCookies").split("\n")
            if line.strip()]