isDirectory() isDirectory(string $key) : boolean Check if key is directory Parameters string $key Returns boolean