src/Leevel/Http/UploadedFile.php
public function isValid(): bool
    {
        return UPLOAD_ERR_OK === $this->error &&
            ($this->test ? true : is_uploaded_file($this->getPathname()));
    }
public function isValid(): bool
    {
        return UPLOAD_ERR_OK === $this->error &&
            ($this->test ? true : is_uploaded_file($this->getPathname()));
    }
文件是否上传成功.

@return bool