parameters: (self)
return_statement: return self.name in [fs['name'] for fs in fs_list]
docstring: Whether a filesystem exists in the mon's filesystem list
docstring_summary: Whether a filesystem exists in the mon's filesystem list
docstring_tokens: Whether a filesystem exists in the mon s filesystem list
function: def exists(self):
          """
          Whether a filesystem exists in the mon's filesystem list
          """
          fs_list = json.loads(self.mon_manager.raw_cluster_cmd('fs', 'ls', '--format=json-pretty'))
          return self.name in [fs['name'] for fs in fs_list]
function_tokens: def exists ( self ) : fs_list = json . loads ( self . mon_manager . raw_cluster_cmd ( 'fs' , 'ls' , '--format=json-pretty' ) ) return self . name in [ fs [ 'name' ] for fs in fs_list ]