<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def KnowsFile(self,filename):
 """Looks at extension and decides if it knows how to manage this file"""

        if self._isMediaFile(filename) or self._isConfigFile(filename):
            return True
        return False