def gt(x, y):
    if x is None and y is not None:
        return False
    elif x is not None and y is None:
        return True
    else:
        return x > y
dataset/ETHPy150Open potatolondon/djangae/djangae/db/utils.py/gt/original