import math def is_perfect_square(number: int) -> bool: """ Returns True if the provided number is a perfect square (and False otherwise). """ return math.isqrt(number) ** 2 == number