/Engine/Source/Runtime/Engine/Classes/EdGraph/EdGraphPin.h
Helper to safely set a pin's bHidden property only if it has no sub-pins that are influencing it to be hidden
void SafeSetHidden ( bool bIsHidden )