title: Android - Check if Runnable is running
body: <p>I want to check if either the Runnable is alive or not in my service. Is there a way i could do this?</p>
  
  <pre><code>private Runnable sendData = new Runnable() {
      public void run() {
          try {
              superToast.show();
              screenOn();
              vibrate();
              mHandler.postDelayed(sendData, time);
          } catch (Exception e) {
              e.printStackTrace();
          }
      }
  };
  </code></pre>