public static boolean isNotInFlow(Object target) { return target instanceof AbsolutelyPositionedContent || target instanceof FloatedBlockContent;
public static boolean isNotInFlow(Object current) { if (current instanceof AnonymousBlockContent) { AnonymousBlockContent anon = (AnonymousBlockContent)current; for (Iterator i = anon.getChildContent(null).iterator(); i.hasNext(); ) { Object content = (Object)i.next(); if ( ! (content instanceof FloatedBlockContent || content instanceof AbsolutelyPositionedContent)) { return false; } } return true; } else { return false; }
    public static boolean isNotInFlow(Object target) {        return target instanceof AbsolutelyPositionedContent || target instanceof FloatedBlockContent;    }