Through the "water_body" property. An entity which has this is a water body. If there's a bbox the entity is a lake (bounded), otherwise it's an ocean (infinite bounds).