Duplicate of the check in `-createRemoteDocWithId:body:`?