FBlueprintEditorUtils::FindBlueprintForNode

Helper function to get the blueprint that ultimately owns a node.