if ((str instanceof SIRFilter) && ((SIRFilter)str).needsWork()) {
if ((str instanceof SIRFilter) && ((SIRFilter)str).getWork()!=null) {
    private static boolean isFusable(SIRStream str,List pipelineElems) {	// don't allow two-stage filters that peek	if (str instanceof SIRTwoStageFilter) {	    //System.err.println("Couldn't fuse " + str + " because it is 2-stage filter");	    //Can fuse in this specific case	    if((pipelineElems.get(0)==str)&&(((SIRTwoStageFilter)str).getInitPush()==0))		return true;	    return false;	}	if ((str instanceof SIRFilter) && ((SIRFilter)str).needsWork()) {	    return true;	} else {	    //System.err.println("Couldn't fuse " + str + " because it isn't filter or doesn't need work");	    return false;	}    }