static boolean isOnUiThread() {
    return Looper.getMainLooper().getThread() == Thread.currentThread();
  }
Cancels a pending release for this object.

@param releasable Object to cancel release of.
drawee/src/main/java/com/facebook/drawee/components/DeferredReleaser.java