parameters: (mgr: 'Module', fs_name: str)
return_statement: return fs_name in [fs['mdsmap']['fs_name'] for fs in fs_map['filesystems']]
docstring: This method checks if given fs is valid
docstring_summary: This method checks if given fs is valid
docstring_tokens: This method checks if given fs is valid
function: def check_fs(mgr: 'Module', fs_name: str) -> bool:
      '''
      This method checks if given fs is valid
      '''
      fs_map = mgr.get('fs_map')
      return fs_name in [fs['mdsmap']['fs_name'] for fs in fs_map['filesystems']]
function_tokens: def check_fs ( mgr : 'Module' , fs_name : str ) -> bool : fs_map = mgr . get ( 'fs_map' ) return fs_name in [ fs [ 'mdsmap' ] [ 'fs_name' ] for fs in fs_map [ 'filesystems' ] ]