Would a linguist find the following sentence to be a valid English sentence grammatically?

When you book something such as a hotel room, you arrange to have it.
acceptable