UMaterialExpression::ContainsInputLoop

Checks whether any inputs to this expression create a loop