This could be even simpler now ;-)
```php
return $form->isValid();