Validate a data dictionary.
Usage
validate(data)
data: dict
The data to validate.
bool
True if the data is valid.