code: def get_buffers_of_type(self, t):
          
          return [x for x in self.buffers if isinstance(x, t)]
docs: returns currently open buffers for a given subclass of
          :class:`~alot.buffers.Buffer`.
  
          :param t: Buffer class
          :type t: alot.buffers.Buffer
          :rtype: list