protected function isUploadedFile($package)
    {
        if (isset($package['name'], $package['tmp_name'], $package['type'], $package['size'])) {
            if (in_array($package['type'], ['application/zip', 'application/x-zip-compressed'])) {
                return true;
            }
        }

        return false;
    }