<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(self, replace=False):
 """ Parse the given compass config file """

        if self.last_parsed is not None \
                and self.last_parsed > os.path.getmtime(self.path) \
                and not replace:
            return
        self.last_parsed = time.time()
        with open(self.path, 'r') as file_:
            for line in file_:
                match = CONFIG_LINE_RE.match(line.rstrip())
                if match:
                    if match.group(1) == 'sass_dir':
                        self.src = os.path.join(
                                self.base_dir, match.group(2)[1:-1])
                    elif match.group(1) == 'css_dir':
                        self.dest = os.path.join(
                                self.base_dir, match.group(2)[1:-1])