original_string: protected function validateDataThemeStore()
      {
          $field = 'data.theme';
          $value = $this->getSubmitted($field);
          $module = $this->module->get($value);
  
          if (isset($module['type']) && $module['type'] === 'theme' && !empty($module['status'])) {
              return true;
          }
  
          $this->setErrorUnavailable($field, $this->translation->text('Theme'));
          return false;
      }
code: protected function validateDataThemeStore()
      {
          $field = 'data.theme';
          $value = $this->getSubmitted($field);
          $module = $this->module->get($value);
  
          if (isset($module['type']) && $module['type'] === 'theme' && !empty($module['status'])) {
              return true;
          }
  
          $this->setErrorUnavailable($field, $this->translation->text('Theme'));
          return false;
      }
code_tokens: protected function validateDataThemeStore ( ) { $ field = 'data.theme' ; $ value = $ this -> getSubmitted ( $ field ) ; $ module = $ this -> module -> get ( $ value ) ; if ( isset ( $ module [ 'type' ] ) && $ module [ 'type' ] === 'theme' && ! empty ( $ module [ 'status' ] ) ) { return true ; } $ this -> setErrorUnavailable ( $ field , $ this -> translation -> text ( 'Theme' ) ) ; return false ; }
docstring: Validates theme module IDs
  @return boolean
docstring_tokens: Validates theme module IDs