Scientifically, it's a pipe dream. It would be convenient if we could train law enforcement officers on how to tell if people are lying, but so far there is no way to do so. That doesn't stop people from trying, though.
Polygraph tests, often called "lie-detector tests," are not admissible as evidence in the courts. This is because they have never been shown to produce reliable proof of whether the subject is lying.