def todoValidate(self, _id, _state, _tags, _priority, _comment):
        db= WCache().getDB()
        if db and (int(_id) in db.todoA):
            storedTask= db.todoA[int(_id)]
            tagsA= []
            for cTag in _tags.split(','):
                tagsA.append(cTag.strip())

            if storedTask.state!=_state or sorted(storedTask.tagsA)!=sorted(tagsA) or storedTask.lvl!=int(_priority) or storedTask.comment!=_comment:
                return False

        return True
dataset/ETHPy150Open NikolayRag/typeTodo/commands_maintain.py/TypetodoMaintainCommand.todoValidate/original