Added function to test whether a record is mapped.