def toggle_set_term_title(val):
 global ignore_termtitle
 ignore_termtitle = (not val)

def toggle_set_term_title ( val ) : global ignore_termtitle ignore_termtitle = ( not val )
control whether set_term_title is active or not .