public static boolean isValidSnapshot(RandomRoutingTable.Snapshot snapshot) {
        try {
            BasicRandomRoutingTable.validateSnapshot(snapshot);
            return true;
        }
        catch (IllegalArgumentException e) {
            return false;
        }
    }
public static boolean isValidSnapshot ( RandomRoutingTable . Snapshot snapshot ) { try { BasicRandomRoutingTable . validateSnapshot ( snapshot ) ; return true ; } catch ( IllegalArgumentException e ) { return false ; } }
@return true if and only if the snapshot is valid according to
BasicRandomRoutingTable.validateSnapshot(snapshot)