@noPosargs
@permittedKwargs({})
def is_unity_method(self, args, kwargs):
    optval = self.interpreter.environment.coredata.get_builtin_option('unity')
    if ((optval == 'on') or ((optval == 'subprojects') and self.interpreter.is_subproject())):
        return True
    return False
@noPosargs
@permittedKwargs({})
def is_unity_method(self, args, kwargs):
    optval = self.interpreter.environment.coredata.get_builtin_option('unity')
    if ((optval == 'on') or ((optval == 'subprojects') and self.interpreter.is_subproject())):
        return True
    return False