The precedent method returb a string "True\n" or "False\n", it seems to be an Ansible bug. New method return a boolean