Add "expects true or false" in docs