Move __bool__ declaration to basic linked list implementation