IsAllowedExpressionType

Returns whether the given expression class is allowed.