code: def findUselessCheckers(self, allowedMessages):
          
          uselessCheckers = []
          for checkerName in self.linter._checkers:
              for checker in list(self.linter._checkers[checkerName]):
                  messagesOfChecker = set(checker.msgs)
                  if not messagesOfChecker.intersection(allowedMessages):
                      uselessCheckers.append(checker)
          return uselessCheckers
docs: Find checkers which generate no allowed messages.
  
          @param allowedMessages: allowed messages
          @return: useless checkers, remove them from pylint