public bool ContainsPair(CoordPair p)
 {
     return(GrammarApi.sol_GetNodeCoordPair(_hNode, p.CoordId, p.StateId) == 1);
 }