dm_has_pk() checks if a given table has columns marked as its primary key.
dm_has_pk(dm, table, ...)
A table in the
These dots are for future extensions and must be empty.
A logical value:
TRUE if the given table has a primary key,