code: def delete(self):
          
          self._pre_action_check('delete')
          self.cypher("MATCH (self) WHERE id(self)={self} "
                      "OPTIONAL MATCH (self)-[r]-()"
                      " DELETE r, self")
          delattr(self, 'id')
          self.deleted = True
          return True
docs: Delete a node and it's relationships
  
          :return: True