ensure we return a logical value