pub fn is_empty(&self) -> bool {
        self.event_queue
            .lock()
            .expect("EventAdapter::is_empty: Cannot lock event queue.")
            .is_empty()
    }
/// Returns `true` if the event queue contains no events.
Returns `true` if the event queue contains no events.
Returns ` true ` if the event queue contains no events .
pub fn is_empty(&self) -> bool {
        self.event_queue
            .lock()
            .expect("EventAdapter::is_empty: Cannot lock event queue.")
            .is_empty()
    }
pub fn is_empty ( & self ) -> bool { self . event_queue . lock ( ) . expect ( " " ) . is_empty ( ) }
Returns `true` if the event queue contains no events.
Returns ` true ` if the event queue contains no events .
&self