public function checkValidity($data, $omitMandatoryCheck = false) { // TODO throw exception if not valid }