I've encountered an interesting problem and am not quite able to solve it. It is to prove the following statement ($ X_n $ denotes a sequence adapted to a filtration $\mathcal{F}_n) $:
$$ (X_n,\mathcal{F}_n) \text{ is a martingale} \iff \text{ for any bounded stopping moment } \tau ~ \mathbb{E} X_\tau = \mathbb{E}X_0$$
I'm not quite sure where to begin with - it's possible to prove that for a martingale it holds that
$$ \mathbb{E}\left( X_n - X_{n-1}\right) = 0 $$
but $ \tau $ is a random variable, so I can't think of a way to skip that;
I would appreciate some help
Hints: