Check whether helm completion function is defined