settings.autocomplete is always defined

So instead we should be checking if options.autocomplete is defined