Test if uploadProperty exists before using it