If function is executed then... Extend a function
<p>I'm working with sharepoint and I want to calculate something when a function executes
ex: </p>

<pre><code>if (SP.UI.addStatus().executed()){
    ....
}
</code></pre>

<p>Is this possible without modify the "originally" code, but instead "extend" the function?</p>
