def set_default_bg():
term = environ.get('<STR_LIT>', None)<EOL>if term:<EOL><INDENT>if (term.startswith('<STR_LIT>',) or term.startswith('<STR_LIT>')<EOL>or term == '<STR_LIT>'):<EOL><INDENT>return False<EOL><DEDENT><DEDENT>return True<EOL>
Get bacground from
    default values based on the TERM environment variable