Gio.Drive::has_media

function vfunc_has_media(): Boolean {
}
  

Checks if the drive has media. Note that the OS may not be polling the drive for media changes; see Gio.Drive.prototype.is_media_check_automatic for more details.

Returns

true if drive has media, false otherwise.