SoundId.isValid

bool isValid()

Checks whether the resource is valid (loaded). Null is invalid.