boolean (Property property, ULiteralExpression literal) { if (literal == null || property == null || !property.isValid()) return false; Object result = literal.evaluate(); if (!(result instanceof String)) return false; return StringUtil.unquoteString(((String)result)).equals(property.getKey()); }