public static bool IsPublic(this EventDefinition eventDefinition) { return(eventDefinition.IsAddPublic() || eventDefinition.IsRemovePublic()); }