bool spectrumHasBinaryData(const Spectrum& s)
{
    return s.hasBinaryData();
}