The Kaccayanagotta Sutta makes a similar point, but instead of employing the Western antithetical notions of realism vs. idealism is employs the Indian antithetical notions of existence vs. non-existence.