Checks if the expression is a polynomial.
strict If true, requires strict polynomial form (no division by variables, non-negative integer exponents).
strict
bool isPoly([bool strict = false]);