[PATCH 1/5] mf: Introduce a new topology_node_get_type helper.