def ignore(code):
if code in Main.options['<STR_LIT:ignore>']:<EOL><INDENT>return True<EOL><DEDENT>if any(c in code for c in Main.options['<STR_LIT:ignore>']):<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Should this code be ignored.

    :param str code: Error code (e.g. D201).

    :return: True if code should be ignored, False otherwise.
    :rtype: bool