input: Write a python function to test if a given object is an instance of a specified type using GIRepository.
  assert is_instance_of(repo.find_by_name('GIMarshallingTests', 'Object'), GIRepository.ObjectInfo) == True
  assert is_instance_of(repo.find_by_name('GIMarshallingTests', 'Interface'), GIRepository.InterfaceInfo) == True
  assert is_instance_of(repo.find_by_name('GIMarshallingTests', 'Enum'), GIRepository.EnumInfo) == True
output: def is_instance_of(obj, type_info):
      return isinstance(obj, type_info)