check if share/doc exists