Check if remote document exists