code: private static boolean isValidForCurrentMode(URI uri) {
  		switch (Control.getSingleton().getMode()) {
  		case safe:
  			return false;
  		case protect:
  			return Model.getSingleton().getSession().isInScope(uri.toString());
  		default:
  			return true;
  		}
  	}
docs: Tells whether or not the given {@code uri} is valid for the current {@link Mode}.
  <p>
  The {@code uri} is not valid if the mode is {@code safe} or if in {@code protect} mode is not in scope.
  
  @param uri the {@code URI} that will be validated
  @return {@code true} if the given {@code uri} is valid, {@code false} otherwise.