<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _parse_ignores(self):
 """ Parse the ignores setting from the pylintrc file if available. """


        error_message = (
            colorama.Fore.RED
            + "{} does not appear to be a valid pylintrc file".format(self.rcfile)
            + colorama.Fore.RESET
        )

        if not os.path.isfile(self.rcfile):
            if not self._is_using_default_rcfile():
                print(error_message)
                sys.exit(1)
            else:
                return

        config = configparser.ConfigParser()
        try:
            config.read(self.rcfile)
        except configparser.MissingSectionHeaderError:
            print(error_message)
            sys.exit(1)

        if config.has_section("MASTER") and config.get("MASTER", "ignore"):
            self.ignore_folders += config.get("MASTER", "ignore").split(",")