original_string: protected function is_queued($langcode = '') {
  
          if (empty($langcode)) {
              return !empty($this->queue);
  
          } else {
              return in_array($langcode, $this->queue);
          }
      }
code: protected function is_queued($langcode = '') {
  
          if (empty($langcode)) {
              return !empty($this->queue);
  
          } else {
              return in_array($langcode, $this->queue);
          }
      }
code_tokens: protected function is_queued ( $ langcode = '' ) { if ( empty ( $ langcode ) ) { return ! empty ( $ this -> queue ) ; } else { return in_array ( $ langcode , $ this -> queue ) ; } }
docstring: Checks if the given language is queued or if the queue is empty
  
  @example $installer->is_queued('es');    // is Spanish going to be installed?
  @example $installer->is_queued();        // is there a language queued?
  
  @param string $langcode language code or empty string for "any"
  @return boolean
docstring_tokens: Checks if the given language is queued or if the queue is empty