{
if (selector == null || selector.equals(""))
return true;
try {
Checker checker = new Checker(new Lexer(selector));
return ((Boolean) checker.parse().value).booleanValue();
} catch (SelectorException sE) {
throw sE;
} catch (Throwable t) {
throw new SelectorException("Invalid selector: " + t.getMessage());
}