return the boole value of result