check if value is already stored in new format