check mapping exists