Explore unusual Python features to solve the problem of determining whether an expression is properly parenthesised.
Maths is an art.