and bool func