@property
def value(self):
    if self.condition.value:
        self.block.value
    elif (self.elseblock != None):
        self.elseblock.value
@property
def value(self):
    if self.condition.value:
        self.block.value
    elif (self.elseblock != None):
        self.elseblock.value