boolean (int data) { if (myLexer instanceof RestartableLexer) { int state = mySegments.unpackStateFromData(data); return ((RestartableLexer)myLexer).isRestartableState(state); } else { return data >= 0; } }