if (from_koma is Koma.fu or from_koma is Koma.kyosha) and to_y == 0:
                return False