Bash Test If Function Defined But Not Used