There's no "Has sample finished playing" option, so usually "Is a sample not playing" is used instead.
I have a looping sample however, so as far as I know it will never be in a state of "not...