def is_prime(number):
    """Check if a number is a prime

    Args:
        number (int): integer number

    Return:
        boolean: true if n is a prime number, false otherwise

    Raises:
        ValueError: if n is not a natural number

    Examples:
        >>> b = is_prime(83)

    """
    if not isinstance(number, int):
        raise ValueError('Not an integer number')
    if number <= 0:
        raise ValueError('Not a natural number')
    if number == 1:
        return False
    for i in range(2, number):
        if number % i == 0:
            return False
    return True
