/Engine/Source/Runtime/Landscape/Classes/Materials/MaterialExpressionLandscapeLayerSwitch.h
Returns true ifGetReferencedTexture()can ever return a valid pointer.
virtual bool CanReferenceTexture() const