Returns a Boolean value that indicates whether a given user interface item should be enabled.
- macOS 10.0+
item should be enabled, otherwise
Subclasses can override this method to perform additional validations. Subclasses should call the underlying method on
super in their implementation for items they don’t handle themselves.