code: def _get_instance(self, klasses):
          
          return [x for x in self.plugins if isinstance(x, klasses)]
docs: internal method that gets every instance of the klasses
          out of the internal plugin state.