@staticmethod<EOL><INDENT>def _omit_from_repr(k, cls):<DEDENT>
exclusions_by_class = {<EOL>"<STR_LIT>": [<EOL>"<STR_LIT>", "<STR_LIT>", "<STR_LIT>",<EOL>"<STR_LIT:_>" + SAMPLE_SUBANNOTATIONS_KEY, SAMPLE_SUBANNOTATIONS_KEY,<EOL>NAME_TABLE_ATTR, "<STR_LIT:_>" + NAME_TABLE_ATTR],<EOL>"<STR_LIT>": [NAME_TABLE_ATTR, "<STR_LIT>", "<STR_LIT>"],<EOL>"<STR_LIT>": [NAME_TABLE_ATTR, "<STR_LIT>", "<STR_LIT>"]<EOL>}<EOL>return k in exclusions_by_class.get(<EOL>cls.__name__ if isinstance(cls, type) else cls, [])<EOL>
Hook for exclusion of particular value from a representation

:param hashable k: key to consider for omission
:param type cls: data type on which to base the exclusion
:return bool: whether the given key k should be omitted from
    text representation