def check(wants, has):
    if wants & has == 0:
        return False
    if wants & has < wants:
        return False
    return True
Ensure that an input value is integer-typed.
dataset/ETHPy150Open caffeinehit/django-oauth2-provider/provider/scope.py/check--crossover with--dataset/ETHPy150Open bmcfee/librosa/librosa/util/utils.py/valid_int