- Helper functions for using flag enums in the editor.