def match_option_with_value(arguments, option, value):
    return ('%s=%s' % (option, value) in arguments or
            contains_sublist(arguments, [option, value]))
Check if a list of command line options contains an option with a value.
dataset/ETHPy150Open paylogic/pip-accel/pip_accel/utils.py/match_option_with_value