public static boolean isDecoratable(Context c, Node node) { if (!LayoutUtil.isReplaced(c, node)) { if (!LayoutUtil.isFloatedBlock(node, c)) {
public static boolean isDecoratable(Box box) { if (!(box.getContent() instanceof ReplacedContent)) { if (!(box.getContent() instanceof FloatedBlockContent)) {
    public static boolean isDecoratable(Context c, Node node) {        if (!LayoutUtil.isReplaced(c, node)) {            if (!LayoutUtil.isFloatedBlock(node, c)) {                return true;            }        }        return false;    }