sanity — Legal Definition, Examples & Cases