Ensure we return false if no field exists

If the datum's dptr is set to 0 this means that the requested field
doesn't actually exist in the database, i.e. no such key.

Signed-off-by: Michael Ikey Doherty <michael.i.doherty@intel.com>