src/vs/editor/contrib/suggest/suggestModel.ts/shouldPreventQuickSuggest
function shouldPreventQuickSuggest(contextKeyService: IContextKeyService, configurationService: IConfigurationService): boolean {
	return (
		Boolean(contextKeyService.getContextKeyValue<boolean>('inlineSuggestionVisible'))
		&& !Boolean(configurationService.getValue<boolean>('editor.inlineSuggest.allowQuickSuggestions'))
	);
}