The plane doesn't know this. But this is part of why the ACES II seats are capable of zero-zero ejections. One of the scenarios in mind is allowing the pilot to steer for the open space without making it a suicide mission.