code: def filter_aliases(alias_table):
      
      for alias in alias_table.sections():
          if alias_table.has_option(alias, 'command'):
              yield (alias.split()[0], remove_pos_arg_placeholders(alias_table.get(alias, 'command')))
docs: Filter aliases that does not have a command field in the configuration file.
  
      Args:
          alias_table: The alias table.
  
      Yield:
          A tuple with [0] being the first word of the alias and
          [1] being the command that the alias points to.