public interface Either { A a(); bool isA(); B b(); bool isB(); }