def contains_digit(number, digit):
    if str(digit) in str(number):
        return True
    return False


print(contains_digit(2307, 3))

9462f2d6746a895927560aedb8b756335c90ea57
<mask token>

def contains_digit(number, digit):
    if str(digit) in str(number):
        return True
    return False


<mask token>

def contains_digit(number, digit):
    if str(digit) in str(number):
        return True
    return False


print(contains_digit(2307, 3))
