def convert_boolean(inpt):

    val = False
    if str(inpt).lower() in ['false', 'f']:
        val = False
    else:
        try:
            val = int(inpt)
            if val == 0:
                val = False
            else:
                val = True
        except:
            val = True
    return val
Two groups A and B, with users A1, A2 and B1, B2 respectively, and supervisor X who belongs to both.
dataset/ETHPy150Open geopython/pywps/pywps/inout/literaltypes.py/convert_boolean--crossover with--dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/hqcase/tests/test_case_sharing.py/CaseSharingTest.setUp