TemplateHelper::canUpload

Checks if the file can be uploaded