code: def _should_trigger_abbreviation(self, buffer):
          
          return any(self.__checkInput(buffer, abbr) for abbr in self.abbreviations)
docs: Checks whether, based on the settings for the abbreviation and the given input,
          the abbreviation should trigger.
  
          @param buffer Input buffer to be checked (as string)