private static bool IsFlaggedOperator(BnfTerm bnfTerm) { return(bnfTerm.IsOperator()); // has IsOperator as flag }