Checks if the item is enabled before expanding/collapsing as a way for the adapter to disable expansion.