validate deployment id is not in use