checkIsBusy() { 
      const self = this;

      let isRunning = false;

      self.menus.forEach( menu => {
         if ( menu.name in self.actions ) {
            isRunning = true;
         }
      } );

      return isRunning;
   }
/*
   * prevent conflicts between different actions of diffeent menus. i.e:
   * make sure to let a menu to finish it's action befoe another can procceed.
   * 
   * maybe rewrite the core of action handling in the future ,so we can drop this.
   */
prevent conflicts between different actions of diffeent menus. i.e:
make sure to let a menu to finish it's action befoe another can procceed.

maybe rewrite the core of action handling in the future ,so we can drop this.
prevent conflicts between different actions of diffeent menus . i . e : make sure to let a menu to finish it ' s action befoe another can procceed . maybe rewrite the core of action handling in the future so we can drop this .
checkIsBusy() { 
      const self = this;
      let isRunning = false;
      self.menus.forEach( menu => {
         if ( menu.name in self.actions ) {
            isRunning = true;
         }
      } );
      return isRunning;
   }
checkIsBusy ( ) { const self = this ; let isRunning = false ; self . menus . forEach ( menu => { if ( menu . name in self . actions ) { isRunning = true ; } } ) ; return isRunning ; }
prevent conflicts between different actions of diffeent menus.
prevent conflicts between different actions of diffeent menus .