<s> def one_from_list ( results , return_nested_item = False ) : <EOL> for result in results : <EOL> if '<STR_LIT>' in result and result [ '<STR_LIT>' ] [ '<STR_LIT>' ] : <EOL> return result [ '<STR_LIT>' ] [ '<STR_LIT>' ] if return_nested_item else result [ '<STR_LIT>' ] <EOL> class FilterModule ( object ) : <EOL> def filters ( self ) : <EOL> return { '<STR_LIT>' : one_from_list } </s>
