docs: public static boolean getBoolean(@NonNull final Context context,
                                       @StyleRes final int themeResourceId,
                                       @AttrRes final int resourceId) {
          TypedArray typedArray = null;
  
          try {
              typedArray = obtainStyledAttributes(context, themeResourceId, resourceId);
              return typedArray.getBoolean(0, false);
          } finally {
              if (typedArray != null) {
                  typedArray.recycle();
              }
          }
      }