More pythonic: `if not course:`