UEdGraphSchema_K2::IsSelfPin

Checks to see if a pin is a Self pin (indicating the calling context for the node)