writerfilter: clean up redundant bool

Change-Id: I10d514617bf06c677ef5cc0bb9d6d6250abe911b