code: def find_cookie(self):
          
          return_cookies = []
          origin_domain = self.request_object.dest_addr
          for cookie in self.cookiejar:
              for cookie_morsals in cookie[0].values():
                  cover_domain = cookie_morsals['domain']
                  if cover_domain == '':
                      if origin_domain == cookie[1]:
                          return_cookies.append(cookie[0])
                  else:
                      # Domain match algorithm
                      bvalue = cover_domain.lower()
                      hdn = origin_domain.lower()
                      nend = hdn.find(bvalue)
                      if nend is not False:
                          return_cookies.append(cookie[0])
          return return_cookies
docs: Find a list of all cookies for a given domain