Python Code Challenge

218 - Write a function to see if a given number is a perfect square and write test cases for it.