Check the integrity of the data.
Validate this object with respect to the limitations and
invariants that our objects enforce.
- Parameters:
level (int) – The extent to which to validate the data. Higher numbers are more
stringent checks. Allowed: 0 to 2 inclusive.