Simplify is_available() method of osx-speaker
Fix missing brackets in speaker.py testing code