added a boolean flag to check whether dispose() was called or not

Copypaste from the official IABHelper. The flag was introduced to check whether dispose() was called or not. It is expected that after calling of dispose() an object is not valid.