This is more than common use case where we access some data from dictionary defined as [String: Any?].
Most of the time we are aware of the data type in advance we allpy force cast (not me) or optional binding to finally access the data.
Consider you have a user object coming in as a Dictionary<String: Any>
and you have to access the gender.
Now this gender
could have {0, 1, 2}, {"m", "f", "o"} or {"male", "female", "other"}