docs: def list_get(l, idx, default=None):
      """
      Get from a list with an optional default value.
      """
      try:
          if l[idx]:
              return l[idx]
          else:
              return default
      except IndexError:
          return default