original_string: public function isSuccessful()
      {
          return count(
              array_filter($this->results, function ($result) {
                  if ($result instanceof ResultGroupInterface) {
                      return !$result->isSuccessful();
                  }
                  return $result instanceof FailureInterface;
              })
          ) === 0;
      }
code: public function isSuccessful()
      {
          return count(
              array_filter($this->results, function ($result) {
                  if ($result instanceof ResultGroupInterface) {
                      return !$result->isSuccessful();
                  }
                  return $result instanceof FailureInterface;
              })
          ) === 0;
      }
code_tokens: public function isSuccessful ( ) { return count ( array_filter ( $ this -> results , function ( $ result ) { if ( $ result instanceof ResultGroupInterface ) { return ! $ result -> isSuccessful ( ) ; } return $ result instanceof FailureInterface ; } ) ) === 0 ; }
docstring: Computes whether the results are considered a success. If there are any results which implement
  `FailureInterface` then the combined result is considered as a fail.
  
  @return bool
docstring_tokens: Computes whether the results are considered a success . If there are any results which implement FailureInterface then the combined result is considered as a fail .