giotto.utils.check_diagram

giotto.utils.check_diagram(X)

Input validation on a diagram