Changes function is_known(word) so that it returns bool,for compatibility with C++ module