bool isDirectory
final

Is true if the event target was a directory.