import math


def is_square(num : int) -> bool:
     """
    Check if a number is perfect square number or not.

    Parameters:
         num: the number to be checked

    Returns:
        True if number is square number, otherwise False
    """
     if num < 0:
         raise ValueError("math domain error")
     if math.sqrt(num) * math.sqrt(num) == num:
        return True
     else:
         return False