def _maybe_trim_strings(self, array, **keys):
trim_strings = keys.get('<STR_LIT>', False)<EOL>if self.trim_strings or trim_strings:<EOL><INDENT>_trim_strings(array)<EOL><DEDENT>
if requested, trim trailing white space from
all string fields in the input array