private static void checkCondition(boolean condition) {
    if (!condition) {
      throw new IllegalStateException();
    }
  }
Throws an {@code IllegalStateException} if {@code condition} is false.
jobdispatcher/src/main/java/com/firebase/jobdispatcher/GooglePlayCallbackExtractor.java