This method of the SystemStreamsPermission Class determines whether the permission object allows the System.err stream to be set.
public boolean canSetSystemErr();
Returns true if the permission object allows the System.err stream to be set; otherwise, returns false.