functionHasArguments() now uses fn.length instead of a regex