public boolean performActionOnHandler( Action action, final Handler handler, final AbstractCommandListener listener) { final IDroneApi droneApi = droneApiRef.get(); if (isStarted(droneApi)) { try { droneApi.executeAction(action, wrapListener(handler, listener)); return true; } catch (RemoteException e) { handleRemoteException(e); } } return false; }