def parse_certificate(cert_string):
    """
    Given a certificate in the form of a string, returns it as an object

    Parameters
    ----------
    cert_string :str
        The certificate formula

    Returns
    -------
    set[(string,bool)]
        The certificate object that represent the given cnf certificate
    """
    ass = set()
    cert_string = cert_string.replace(' ','')
    for x in cert_string.split('),('):
        x = x.replace(')','').replace('(','').replace('{','').replace('}','').replace('\'','')
        tmp = x.split(',')
        ass.add(((tmp[0],tmp[1] == 'True')))
    return ass