document isPerfectSquare()