Drive.hasVolumes

Check if drive has any mountable volumes.

interface Drive
bool
hasVolumes
()

Return Value

Type: bool

true if the drive contains volumes, false otherwise.