Deletes the node and all its relationships.

    :param manager: Neo4jDBSessionManager
    :param handle_id: Unique id

    :rtype: bool

def delete_node(manager, handle_id):
    """
    Deletes the node and all its relationships.

    :param manager: Neo4jDBSessionManager
    :param handle_id: Unique id

    :rtype: bool
    """
    q = """
        MATCH (n:Node {handle_id: {handle_id}})
        OPTIONAL MATCH (n)-[r]-()
        DELETE n,r
        """
    with manager.session as s:
        s.run(q, {'handle_id': handle_id})
    return True