/Engine/Source/Runtime/Engine/Classes/Materials/MaterialInstance.h
Test this material for dependency on a given material.
True if the material is dependent on TestDependency.
virtual bool IsDependent ( [UMaterialInterface](API\Runtime\Engine\Materials\UMaterialInterface) * TestDependency )