check if the media_handle_upload() is successful