isPlaying
A Boolean value that indicates whether playback is currently active.
Declaration
@MainActor @preconcurrency var isPlaying: Bool { get }Discussion
You may experience a small delay between when you call the play() method and when the isPlaying property reports true.