<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _IsMetadataFile(self, file_entry):
 """Determines if the file entry is a metadata file. Args: file_entry (dfvfs.FileEntry):
 a file entry object. Returns: bool: True if the file entry is a metadata file. """

    if (file_entry.type_indicator == dfvfs_definitions.TYPE_INDICATOR_TSK and
        file_entry.path_spec.location in self._METADATA_FILE_LOCATIONS_TSK):
      return True

    return False