substantial capacity — Legal Definition, Examples & Cases