code: private boolean isRestricted(Permission permission) {
          for (Permission restrictedPermission : restrictablePermissions) {
              if (restrictedPermission.implies(permission)) {
                  return true;
              }
          }
          return false;
      }
docs: Check if this is a restricted permission.
  
  @param permission
  @return <code>true</code> if the permission is restricted