Retrieves the current selection state of the specified application.
true if the application is selected, false otherwise.
true
false
The AppInfo object representing the application for which to get the state.