Community detection with metadata in graph-tool


I would like to implement the community detection with metadata method that
is described in the paper "Network structure, metadata and the prediction of
missing nodes and annotations" by Hric, Peixoto, and Fortunato. The paper
mentions that the method is implemented in graph-tool but I haven't been
able to find it anywhere in the graph-tool documentation. Could you please
point me towards the relevant function(s) and any documentation that exists?

Thank you,


The model in that paper is simply the multilayer SBM described here:

It should be applied on multilayer network where one layer is composed
of bipartite node-metadata edges.