static bool MatchConstantNode(RightActivation <T> x) { return(x.GetType().IsGenericType&& x.GetType() == typeof(ConstantNode <T>)); }