bCompilingFunctionPreview

True when this expression is being compiled in a function preview, false when this expression is being compiled into a material that uses the function.