add the checking of whether a function expression is supported