return isSuggestionListShowing() ? suggestionMenu.getNumItems() : 0;
}
void showSuggestions(String query) {
if (query.length() == 0) {
oracle.requestDefaultSuggestions(new Request(null, limit), callback);
} else {
oracle.requestSuggestions(new Request(query, limit), callback);
}
}