How can I access the state of "clicked" in this piece of jQuery
<p>I have this piece of jQuery. Is it possible to determine whether the <code>#mydiv</code> element has been  "clicked" from outside this piece of code.</p>

<p><a href="http://jsfiddle.net/byronyasgur/BxF9R/" rel="nofollow">JSFIDDLE</a></p>

<pre><code>$.fn.clicktoggle = function(a, b) {
    return this.each(function() {
        var clicked = false;
        $(this).bind("click", function() {
            if (clicked) {
                clicked = false;
                return b.apply(this, arguments);
            }
            clicked = true;
            return a.apply(this, arguments);
        });
    });
};

function odd() {
    alert("odd");
}

function even() {
    alert("even");
}

$("#mydiv").clicktoggle(even, odd);
</code></pre>
