import math
def check_prime(number):
    sqrt_number = math.sqrt(number)
    number_float = float(number)
    for i in range(2, int(sqrt_number)+1):
        if (number_float/i).is_integer():
            return False
    return True

print ("check_prime(100000) = ", check_prime(100000))
print ("check_prime(100019) = ", check_prime(100019))
