import requests


def logout(url, cookies):
    """
    Function to perform logout in dualis.dhbw.de
    :param url: url to perform logout
    :param cookies: cookie with session information
    :return: boolean whether logging out was successful
    """
    return requests.get(url=url, cookies=cookies).ok