Checks if a list has names.
has_names(dat)
list. The list to verify.
boolean. TRUE if the list is named, FALSE otherwise.