FBlueprintEditorUtils::HasRestrictedNodes

Returns true if the given Blueprint is found to contain one or more nodes that are disallowed (restricted) within the current editor mode context.