<s> from django . template import Library <EOL> register = Library ( ) <EOL> @ register . filter <EOL> def bool ( value ) : <EOL> if value : <EOL> return '<STR_LIT:true>' <EOL> else : <EOL> return '<STR_LIT:false>' </s>
