@staticmethod
def cookies_exist(resp):
    """
        Check if cookies sent during response.

        :param resp: response object.
        :returns: dictionary of cookies from response if exists or None.
        """
    if not resp.cookies.get_dict():
        return
    else:
        cookies = resp.cookies.get_dict()
        if len(cookies) >= 1:
            return f'(cookies: {len(cookies)})'
