1. Add BasicVarChk() for variable checking feature support
2. Modify the condition of input check in BasicCmdChk()