def METHOD_NAME(self, search, ignoreLinesStartWith):
    found = False
    logging.debug("Searching for %s string " % search)
    for index, line in enumerate(self.new_config):
        print ' line = ' + line
        if line.lstrip().startswith(ignoreLinesStartWith):
            continue
        if search in line:
            found = True
            break
    return found