isLocal() to calc useJavaSaver and readOnly flags

new function, isLocal(), is used for "check for file:// URL" test when
calculating useJavaSaver and readOnly flags.