@SuppressLint("WrongConstant")
  public static @Status int simpleStatusForIsLast(boolean isLast) {
    return isLast ? IS_LAST : NO_FLAGS;
  }
Creates a simple status value which only identifies whether this is the last result.
imagepipeline/src/main/java/com/facebook/imagepipeline/producers/BaseConsumer.java