Function S2Cap.isValid

We allow negative heights (to represent empty caps) but heights are normalized so that they do not exceed 2.

bool isValid() const;