code: public function isValid()
      {
          $isValid = true;
          foreach ($this->activeForms as $activeFormKey) {
              $activeForm = $this->getForm($activeFormKey);
              $isValid &= $activeForm->isValid();
          }
          return $isValid;
      }
docs: Return isValid
  
  @return bool