Check if hook templates exist or are valid