public boolean isVisible(){
  return myView != null && myView.isVisible();
}

public boolean isVisible ( ) { return myView != null && myView . isVisible ( ) ; }
determines whether this popup should be visible .
