def METHOD_NAME(case):
    if args.dist:
        if case['DIST'] != args.dist:
            return False
    if args.python:
        if case['PYTHON'] != args.python:
            return False
    if args.suite:
        if case['SUITE'] != args.suite:
            return False
    if args.database:
        if case['RDBMS'] != args.database:
            return False
    return True