Ginzburg--Kapranov criterion for Koszulness of operads, and its limitations