return cached != null ?
(plug, p) -> command.executeCached(plug, p, cached) :
(plug, p) -> command.execute(plug, p, val);
}
private boolean isStringOrPrimitive(Object input) {
<BUG>return input instanceof String ||
input instanceof Integer || input instanceof Boolean ||

input instanceof Character || input instanceof Byte ||

input instanceof Short || input instanceof Double ||
input instanceof Long || input instanceof Float;</BUG>
}

return cached != null ?
(plug, p) -> command.executeCached(plug, p, cached) :
(plug, p) -> command.execute(plug, p, val);
}
private boolean isStringOrPrimitive(Object input) {
return input instanceof String || input instanceof Boolean
|| input instanceof Character || input instanceof Number;
}
