Next, a shell function or an executable file $PATHwith the name is executed IsServerStarted, and if its exit code 0(i.e. true) starts a branch then. If such a function or executable does not exist, the exit code will not 0(i.e. False), but the branch thenwill be skipped.
if IsServerStarted ; then ...
[ (aka test), , IsServerStarted , 0, (IsServerStarted ) false. , [ 0 (.. ), then .
if [ IsServerStarted -eq 0 ] ; then ...