check_exists: Check if entry exists in the data registry
Description
Check whether an entry already exists in a table (in the data registry)
Usage
check_exists(table, query)
Value
Returns TRUE if the entry exists and FALSE if it
doesn't
Arguments
- table
a string specifying the name of the table
- query
a list containing a valid query for the table, e.g.
list(field = value)