FBlueprintEditor::AreMacrosAllowed

Whether macros are allowed to be displayed/created in a blueprint