Added get_state helper for comments state