New test for whether a session is interactive or non-interactive