def hide_splash_if_necessary():
    """Disables the splashscreen, otherwise it sits in front of windows.
    """
    app = get_vistrails_application()
    if hasattr(app, 'splashScreen') or app.splashScreen:
        app.splashScreen.hide()
dataset/ETHPy150Open VisTrails/VisTrails/vistrails/gui/bundles/installbundle.py/hide_splash_if_necessary/operator `and` -> `or`