Add initial implementation for node_is_link

Fixes a compilation failure in select_handler.rs.