sounds = {}

`(!sound || sound.length === 0) is false`.

`!sound || !sound[0]` is slightly better.