/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpression.h
Check if input exppresion is directly connected to the material.
virtual bool IsExpressionConnected ( [FExpressionInput](API\Runtime\Engine\FExpressionInput) * Input, int32 OutputIndex )