Add `checkDom` flag to Component's isHidden() method. Also add isVisible() method.