Shortest possible to way to check if float is a square number : <p>I'm doing a competition which prioritizes solutions with the least characters. My current code for checking for a square number is:</p>

<pre><code>def checkSqr(x):
     return x**.5 % 1 == 0
</code></pre>

<p>Is there a more compact solution?</p>
