check if in dict in mapper