am 48ed035a: Fix incorrect check of bool returning function.

* commit '48ed035a060d8de2e83c1ad1eb77c8ee850f7196':
  Fix incorrect check of bool returning function.