def index(self):
        """
        Returns the first occurrence of the bank in your :class:`.PluginsManager`
        """
        if self.manager is None:
            raise IndexError('Bank not contains a manager')

        return self.manager.banks.index(self)
Returns the first occurrence of the bank in your :class:`.PluginsManager`