code: def list(cls, rc_file='~/.odoorpcrc'):
          
          sessions = session.get_all(rc_file)
          return [name for name in sessions
                  if sessions[name].get('type') == cls.__name__]
docs: Return a list of all stored sessions available in the
          `rc_file` file:
  
          .. doctest::
              :options: +SKIP
  
              >>> import odoorpc
              >>> odoorpc.ODOO.list()
              ['foo', 'bar']
  
          Use the :func:`save <odoorpc.ODOO.save>` and
          :func:`load <odoorpc.ODOO.load>` methods to manage such sessions.
  
          *Python 2:*
  
          :raise: `IOError`
  
          *Python 3:*
  
          :raise: `PermissionError`
          :raise: `FileNotFoundError`