problem with variable scope

problem with scope of variable sheduled in metho self.scheduled? -
result was always false.