fn FileSinkEnabled() -> bool
Decide whether the file sink should be active. Returns the final flag once per process; subsequent calls are cached.