a lie detector is a device that is used to find out if a person is lying