check if shmem segment exists