isDirectory

common
fun isDirectory(): Boolean

checks if the file is directory