def isEmpty(self):
    if self.includeEmpty:
        return False
    else:
        return (not bool(self.value))
def isEmpty(self):
    if self.includeEmpty:
        return False
    else:
        return (not bool(self.value))