def _is_3star(adj_mat):
    return (adj_mat.sum() == 10 and 4 in [a.sum() for a in adj_mat])
Check if a given graphlet of size 4 is a 3-star
dataset/ETHPy150Open gmum/pykernels/pykernels/graph/allgraphlets.py/_is_3star