(core) added isParam() method to Var