https://lesolivex.com/es/blog/2015/01/11/saber-si-una-funcion-esta-definida-en-bash-3/
Saber si una funciĆ³n esta definida en bash