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