def METHOD_NAME(self,VARname,SDLname,playerID,tag):        
    if VARname != stringVarName.value:
        return
    ageSDL = PtGetAgeSDL()
    SDLvalue = ageSDL[stringVarName.value][0]
    if  SDLvalue in self.enabledStateList:
        self.EnableObject()
    else:
        self.DisableObject()