Converts boolean return to a string