pub fn get_state(key: &str) -> Option<String>
Returns the state, it has to be set beforehand with the set otherwise will be returned empty.