public boolean isOverlayVisible(){
  return overlayVisible;
}

public boolean isOverlayVisible ( ) { return overlayVisible ; }
returns the flag which indicates whether the overlay is currently visible or not .
