canEject

open fun canEject(): Boolean

Checks if a drive can be ejected.

Return

true if the @drive can be ejected, false otherwise.