Test if state is installed