Added Python compatible truth value testing (LogicValue) for Dictionary.