docs: public boolean isPermissionGranted(@NonNull Activity activity, @NonNull String permission) {
          Log.v(TAG, String.format("Checking if %s permission is granted.", permission));
          int result = ContextCompat.checkSelfPermission(activity, permission);
          return result == PermissionChecker.PERMISSION_GRANTED;
      }