<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_ignore(self, filename):
 """Should ignore a given filename?"""

        _, ext = os.path.splitext(filename)
        return ext in self.ignored_file_extensions