def METHOD_NAME(self, *args, **kwargs):
    status, msg, info = self.s.getVdsCapabilities()
    self.assertEqual(status, SUCCESS)
    if not info['packages2'].get('mom'):
        raise SkipTest('MOM is not installed')
    return method(self, *args, **kwargs)