How do you determine if a polynomial is the difference of two squares?

The difference of two squares is a^2-b^2, for a and b any expression. It should be easy to determine if a polynomial fits that form.