def _is_positive_int(length):
    if not isinstance(length, int) or length <= 0:
        raise ValueError("{0} is an invalid 'length'.".format(length))
Check if the given key id exists in apt keyring.
dataset/ETHPy150Open omaciel/fauxfactory/fauxfactory/__init__.py/_is_positive_int--crossover with--dataset/ETHPy150Open ronnix/fabtools/fabtools/deb.py/apt_key_exists