Explicitly check for interactive shells