def IsSourceTypeDirectory(self):
    if self.source_type:
      return self.source_type == definitions.SOURCE_TYPE_DIRECTORY
Determines if the source type is a directory.
dataset/ETHPy150Open log2timeline/dfvfs/dfvfs/helpers/source_scanner.py/SourceScannerContext.IsSourceTypeDirectory