def AnalyzeFileObject(self, file_object):
    """Retrieves the format specification.

    Args:
      file_object: a file-like object (instance of file_io.FileIO).

    Returns:
      The type indicator if the file-like object contains a supported format
      or None otherwise.
    """
    tsk_image_object = tsk_image.TSKFileSystemImage(file_object)

    try:
      _ = pytsk3.Volume_Info(tsk_image_object)
    except __HOLE__:
      return

    return self.type_indicator


# Register the analyzer helpers with the analyzer.
dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/analyzer/tsk_partition_analyzer_helper.py/TSKPartitionAnalyzerHelper.AnalyzeFileObject