public static boolean isLast(@Consumer.Status int status) {
    return (status & Consumer.IS_LAST) == Consumer.IS_LAST;
  }
Checks whether the provided status includes the `IS_LAST` flag, marking this as the last result
the consumer will receive.
imagepipeline/src/main/java/com/facebook/imagepipeline/producers/BaseConsumer.java