def fake_is_vim_object(arg, module):
 return isinstance(module, fake.FakeVim)

def fake_is_vim_object ( arg , module ) : return isinstance ( module , fake . FakeVim )
stubs out the vmwareapisessions is_vim_object method .