Change od Datatype - necessary?

I load vars from TXT and I woul like to use one var for setting visibility of one mc on the stage.
In TXT I have this argument:

var_navMenuTextVisible=false

I assume that than I get following code on the keyframe:

nav_menu._visible = myVars.var_navMenuTextVisible;

Maybe I do it too complicated, have you any suggestion?
Thanks