Member predicate Expr::isInStaticContext

Holds if this expression occurs in a static context.

predicate isInStaticContext()