Determine if the given object can be found in the object database, with extended options.
database to be searched for the given object.
the object to search for.
flags affecting the lookup (see git_odb_lookup_flags_t)
git_odb_lookup_flags_t
1 if the object was found, 0 otherwise