'Utility method to check if option is to be removed
:type line: string
:param line: line of text from the configuration file
:return: True or False'

def matches_global_option_to_remove(self, line):

    (key, val) = self.line_to_keyval(line)
    if (key in self.global_options_to_remove):
        return True
    else:
        return False
