public function isSuccessful()
    {
        return count(
            array_filter($this->results, function ($result) {
                if ($result instanceof ResultGroupInterface) {
                    return !$result->isSuccessful();
                }
                return $result instanceof FailureInterface;
            })
        ) === 0;
    }