<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _should_replace(self, path):
 """ True if should replace the path """

        return (
            self._reserved_words is None
            or path.upper() in self._reserved_words
            or "-" in path
        )