just need a space to comment on code :-)

minor syntax issue: you can put the `b =>` right after the `map {` and remove the following `{` 
so your code can be simplified to 

```scala 
executeQuery(store, bindQuery(query, bindings)) map {  b => b.asInstanceOf[Boolean] }
```

then you can  even remove the variable `b` and change the `{ ... }` to `( ... )` with the following

```scala 
executeQuery(store, bindQuery(query, bindings)) map (  _.asInstanceOf[Boolean] )
```