Yeah, but the special handling is to use the string without calling it first (or throwing an exception).
Old code:
if (function) call it if (string) do nothing // special case, don't call or throw else throw
New code:
if (string) do nothing // special case, don't call or throw else call it // will throw if not a callable