Determine if the given git_object_t is a valid object type.
object type to test.
1 if the type represents a valid object type, 0 otherwise