It has a variable squared term, by definition, but not necessarily x; it could be y or t, etc. However, the reverse isn't always true: just because there's an x-squared term doesn't always mean it's a quadratic, because there could be higher powers of the variable as well.