I infer from the use of
...network drive that the context is Windoze - in which case I vaguely remember that the
net command can be used to ascertain the availability of a network drive (see
Re: Checking status of Network Mapped Drives).
A user level that continues to overstate my experience :-))