public function isValid($sendHeaders = true)
    {
        if (Application::getInstance()->runningInConsole()) {
            return !$this->validator->with($this->inputs)->fails();
        }

        return $this->formBuilder->isValid($sendHeaders);
    }