original_string: public function isValid()
      {
          $this->applyFilters();
  
          $this->validationMessage = null;
  
          foreach ($this->validators as $validator) {
              if (!$validator->isValid($this->translations)) {
                  $this->validationMessage = $validator->getMessage();
                  return false;
              }
          }
  
          return true;
      }
code: public function isValid()
      {
          $this->applyFilters();
  
          $this->validationMessage = null;
  
          foreach ($this->validators as $validator) {
              if (!$validator->isValid($this->translations)) {
                  $this->validationMessage = $validator->getMessage();
                  return false;
              }
          }
  
          return true;
      }
code_tokens: public function isValid ( ) { $ this -> applyFilters ( ) ; $ this -> validationMessage = null ; foreach ( $ this -> validators as $ validator ) { if ( ! $ validator -> isValid ( $ this -> translations ) ) { $ this -> validationMessage = $ validator -> getMessage ( ) ; return false ; } } return true ; }
docstring: Returns if translations are valid to save or not
  
  @return bool
docstring_tokens: Returns if translations are valid to save or not