Suppose $f \in L_1(-\pi,\pi)$, satisfying $\hat{f}(n) = 0, \forall n\in \mathbb{Z}$ (which means all Fourier coefficients are $0$). Does $f = 0$ almost everywhere in $(-\pi,\pi)$?
The Fourier coefficients of $f$ are defined by $\hat{f}(n) = \int_{-\pi}^{\pi}f(\theta)e^{-in\theta}d\theta$
This is a similar question, but it does not provide a clear answer: Functions whose Fourier coefficients are all zero
This follows immediately from Parseval's identity, $$ \int_{-\pi}^\pi |f(\theta)|^2d\theta = \sum_{n=0}^\infty |\hat{f}(n)|^2. $$ Since the coefficients are zero, so is the function's square integral, and thus so is the function.