def on_submit_share(self, worker_name, block_header, block_hash, shares, timestamp, is_valid):
is_valid is boolean indicating that share has been accepted.
I am so sorry, I didn't quite ask that right.... how do we know if the share solves/generates a block? i.e. how do we know when we generated a block.