Judge whether launch mnesia or not