use isinteractive() rather than Base.is_interactive