They are probably compatible according to SunRace's Q&A https://sunrace.com/faq-qna/:
Yes, our products are compatible with Shimano and / or Sram. Our cassettes will fit onto the HyperGlide fitting (for both Shimano and Sram drive trains) or XD (for Sram drive trains). For derailleurs and shifters the standard is Shimano-compatible, unless it has been stated clearly that the item is Sram-compatible.
That said, is the cassette still in good shape? Might want to confirm it's still got a good amount of life in it before you go to the trouble of swapping it out.