def validate_non_negative_integer_or_none(option, value):
    if value is None:
        return value
    return validate_non_negative_integer(option, value)
Validate that 'value' is a positive integer or 0 or None.
dataset/ETHPy150Open mongodb/mongo-python-driver/pymongo/common.py/validate_non_negative_integer_or_none