     # console.log (@moduleStates_[@extractModuleName_(name)] is state)
     @moduleStates_[name] is state
 
-  areInState_: (names, state) ->
-    for name in names
-      if not @isInState_(name, state)
-        # console.log name
-        return no
-    yes
+  # areInState_: (names, state) ->
+  #   for name in names
+  #     if not @isInState_(name, state)
+  #       # console.log name
+  #       return no
+  #   yes
 
 
 

  areInstalled_: (names) ->
    # for name in names
      # console.log 'state of ' + name + ": " + @moduleStates_[name]
    @areInState_ names, MKModuleManager.ModuleState.Installed

  isAwaiting_: (name) ->
    @isInState_ name, MKModuleManager.ModuleState.Awaiting

    # put pending calls awaiting for modules to be downloaded.
    @pendingCalls_ = []
    # @moduleURLs_ = {} no needed anymore
    @files_ = {}
    @config_ =
      paths: {}
    # context used to call the modules.
