public static function isValidUploadFile(string $uploadField, array $arrMimeType = array(), Request $request) : bool
    {
        $uploadedFile = self::getFileSafe($uploadField, $request);

        if (!is_a($uploadedFile, UploadedFile::class)) {
            return false;
        }

        return UploadedFileHelper::isValidUploadFile($uploadedFile, $arrMimeType);
    }