pub fn check_entry_type( entry_type: &EntryType, entry: &Entry) -> Result<(), SysValidationError>
Check the entry variant matches the variant in the headers entry type