check if a cifs partition is mounted before attempting to mount it