Determine if the given object can be found in the object database.
database to be searched for the given object.
the object to search for.
1 if the object was found, 0 otherwise