defined (which already provides this functionality)...
Yes, defined(&$sub) works fine, but the functionality seems different to me. My approach looks at the variable itself, whereas defined appears to be looking at the subroutine referenced by the variable.
Anyway .... my point is very moot .... at best :-)