def METHOD_NAME(self, top):
    assert len(top.angles.values) == self.expected_n_angles
    if self.expected_n_angles:
        assert isinstance(top.angles.values[0], tuple)
    else:
        assert top.angles.values == []