UMaterialFunctionInterface::HasAnyExpressionsOfType

Get all expressions of the requested type, recursing through any function expressions in the function