code: boolean setVisibleInt(boolean shown) {
          final int oldFlags = mFlags;
          mFlags = (mFlags & ~HIDDEN) | (shown ? 0 : HIDDEN);
          return oldFlags != mFlags;
      }
docs: Changes the visibility of the item. This method DOES NOT notify the
  parent menu of a change in this item, so this should only be called from
  methods that will eventually trigger this change.  If unsure, use {@link #setVisible(boolean)}
  instead.
  
  @param shown Whether to show (true) or hide (false).
  @return Whether the item's shown state was changed