Oracle Interview Question

Function to valid a perfect square.