FBlueprintEditorUtils::FindScriptStructsInNodes

Search the blueprints looking for nodes that contain the given script structs