[jQuery] Test for a function being defined

[jQuery] Test for a function being defined


Is there a test to know if a function has been defined or declared?
function modify(){
...my code
}
if(function('modify'))
or something like that?