def is_prime(number: int):
    """
    This function finds if the number is prime
    Returns:
        True if prime false otherwise
    """

    for index in range(2, (number//2) + 1):
        if number%index == 0:
            return False
    return True