docs: public boolean isPermissionGranted(String permission) {
          List<String> grantedPermissions = getPermissions();
          if (grantedPermissions != null) {
              return grantedPermissions.contains(permission);
          }
          return false;
      }