Hello,
The == operator checks for full equality while contains checks if the key is contained within the string. In other words, use == when you want an exact match, and utilize contains when you only need the value to be present within the larger string.