boolean () { // PresentationModeFnModes = { // functionKeys = app; // }; final Path p = new Path(); p.myPath.add(new Path.Node("persistentDomainForName:", ourTouchBarDomain)); p.myPath.add(new Path.Node("objectForKey:", "PresentationModeFnModes")); final String sval = p.readStringVal("functionKeys"); return sval != null && sval.equals("app"); }