/Engine/Source/Runtime/Engine/Classes/Materials/Material.h
Checks if the material contains an expression of the requested type, recursing through any function expressions in the material
template<typename ExpressionType> bool HasAnyExpressionsInMaterialAndFunctionsOfType() const