The package of coconut flour should have a "best by" or "best if used by" date. But coconut flour doesn't immediately go bad, so it will still be safe to use after that date. As the flour deteriorates it will taste stale or rancid and perhaps a little bitter. If the taste is off in any way do not use it.