added standard function can_hide_show_instance. I won't ruin the ending for you though