The SessionStorageInterface is marked as API so it can't be changed.

Its best to introduce a new additional Interface to solve this - not sure which name would work.
And then check if the storage implements this interface.