Query the vi modes property to determine whether to activate addin.