UEdGraphNode::FindPinByPredicate

Find a pin using a user-defined predicate