code: def single(self):
          
          nodes = super(ZeroOrOne, self).all()
          if len(nodes) == 1:
              return nodes[0]
          if len(nodes) > 1:
              raise CardinalityViolation(self, len(nodes))
docs: Return the associated node.
  
          :return: node