See if we have a given value in our tree
(self, a)
| 416 | # interface methods |
| 417 | |
| 418 | def contains(self, a): |
| 419 | """ See if we have a given value in our tree """ |
| 420 | node = self.findNode(a) |
| 421 | return node if node.contains(a) else None |
| 422 | |
| 423 | def findNode(self, a): |
| 424 | """ Find the node which contains the given value """ |