am 6732d375: Fix incorrect check of bool returning function.

* commit '6732d3751a4ba4b23bd0881c5bd150e65c35c939':
  Fix incorrect check of bool returning function.