public static bool CheckForItems(Clause checkclause)
        {
            DateTime leftdate = DateTime.Now;
            LExpr    LE       = checkclause.LSide;
            string   retquest = "";

            if (LE.EType == Clause.ElementTypeLeft.Item || LE.EType == Clause.ElementTypeLeft.Item)
            {
                return(true);
            }


            RExpr RE = checkclause.RSide;

            if (RE.EType == Clause.ElementTypeRight.Item || RE.EType == Clause.ElementTypeRight.Item)
            {
                return(true);
            }


            return(false);
        }
        public static string CheckForQuestions(Clause checkclause)
        {
            DateTime leftdate = DateTime.Now;
            LExpr    LE       = checkclause.LSide;
            string   retquest = "";

            if (LE.EType == Clause.ElementTypeLeft.Question)
            {
                retquest += "," + LE.Qid.ToString();
            }


            RExpr RE = checkclause.RSide;

            if (RE.EType == Clause.ElementTypeRight.Question)
            {
                retquest += "," + RE.Qid.ToString();
            }


            return(retquest);
        }