has_media


Description:

public abstract bool has_media ()

Checks if the this has media.

Note that the OS may not be polling the drive for media changes; see is_media_check_automatic for more details.

Parameters:

this

a Drive.

Returns:

true if this has media, false otherwise.