added global function istrue(value)