def METHOD_NAME(number: int) -> bool:
    """
    Checks if `number` is a prime number.
    Parameters
    ----------
    number :
        The number to check for primality.
    Returns
    -------
    is_number_prime : `bool`
        Boolean indicating if `number` is prime or not.
    """
    if number <= 1:
        return False
    # number ** 0.5 is faster than math.sqrt(number)
    for x in range(2, int(number**0.5) + 1):
        # Return False if number is divisible by x
        if number % x == 0:
            return False
    return True