visible

Called without any parameters, the visible() method returns true if the MonthYearPicker is currently visible and false otherwise.
Calling it with a boolean true or false parameter will show and hide the MonthYearPicker widget.

<input id="picker"></input>

<script type="text/javascript">
    $(function () {
        $("#picker").shieldMonthYearPicker({
            enabled: false
        });

        $("#picker").swidget().visible(); // returns true
   
        $("#picker").swidget().visible(false) // hides the widget
   
        $("#picker").swidget().visible(); // returns false
    });
</script>