hasTrailingCodeExecutionResult

Returns true if the last part of this event is a code-execution result. Mirrors ADK Java's Event.hasTrailingCodeExecutionResult(), keeping such an event out of isFinalResponse so the turn loop runs again to let the model act on the result.