The enabled() method, called without any parameters, will return the current enabled state of a MonthYearPicker element.
The enabled(bool) method is used to update a MonthYearPicker's enabled/disabled state. Passing true will enable and false will disable the widget.

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

<script type="text/javascript">
    $(function () {
            enabled: false

        $("#picker").swidget().enabled(); // returns false
        $("#picker").swidget().enabled(true) // enables the widget
        $("#picker").swidget().enabled(); // returns true