intent to commit a felony — Legal Definition, Examples & Cases