pub fn is_available(self) -> bool {
        let result = Reaper::get()
            .medium_reaper()
            .get_midi_input_name(self.id, 2);
        result.is_present || result.name.is_some()
    }
/// For REAPER < 5.94 this is the same like isConnected(). For REAPER >=5.94 it returns true if
/// the device ever existed, even if it's disconnected now.
For REAPER < 5.94 this is the same like isConnected(). For REAPER >=5.94 it returns true if
the device ever existed, even if it's disconnected now.
For REAPER < 5 . 94 this is the same like isConnected () . For REAPER > = 5 . 94 it returns true if the device ever existed even if it ' s disconnected now .
pub fn is_available(self) -> bool {
        let result = Reaper::get()
            .medium_reaper()
            .get_midi_input_name(self.id, 2);
        result.is_present || result.name.is_some()
    }
pub fn is_available ( self ) -> bool { let result = Reaper :: get ( ) . medium_reaper ( ) . get_midi_input_name ( self . id , 2 ) ; result . is_present || result . name . is_some ( ) }
For REAPER < 5.94 this is the same like isConnected().
For REAPER < 5 . 94 this is the same like isConnected () .
self
self