Wasn’t HMS Hermes sunk off Ceylon in April 1942 when the IJN came into the Indian Ocean. Around the same time Cornwall and Dorsetshire were sunk.
So it was. But the Hermes wasn't posted to the Eastern Fleet and Ceylon until February, 1942 -- three months after the Japanese initiated their attacks against the British Empire.