code: def is_bot_the_only_committer(self, pr):
          
          committer = self.provider.get_pull_request_committer(
              self.user_repo,
              pr)
          # flatten the list and remove duplicates
          committer_set = set([c.login for c in committer])
  
          # it's impossible to get the bots login if this is an integration, just check that
          # there's only one commit in the commit history.
          if self.integration or getattr(self.provider, 'name', '') == 'gitlab':
              return len(committer_set) == 1
  
          # check that there's exactly one committer in this PRs commit history and
          # that the committer is the bot
          return len(committer_set) == 1 and self.provider.is_same_user(self.bot, committer[0])
docs: Checks if the bot is the only committer for the given pull request.
          :param update: Update to check
          :return: bool - True if conflict found