Yes, you can use identity operators with mutable objects, but be cautious. For mutable objects, even if the contents are the same, the objects might be stored in different memory locations, and is
will return False
unless the variables refer to the exact same object in memory.
Very good and useful website