What is the god beast that can distinguish good from evil in ancient China mythology?

In ancient China, it was said that a debate could distinguish right from wrong, know good and evil, and be loyal to traitors, so it was always regarded as a symbol of judicial justice. In ancient books, it is also called "God Sheep" and "Benevolent Beast".

Yang Fu, a scholar in the Han Dynasty, summed up the characteristics of this argument in his monograph "Records of Foreign Objects": "The nature is straight, and people cannot be touched; When people argue, they are wrong. " In other words, I can distinguish right from wrong, distinguish good from evil, and be loyal to traitors. Anyone in the world who doesn't obey the law and acts recklessly will touch dishonest people with sharp corners when he sees others fighting. When it hears someone arguing, it will bite the unreasonable party with its mouth.