def list_links(args = {})
      if args.empty?
        links
      else
        links.select { |link| link.match? args }
      end
    end
def list_links(args = {})
      if args.empty?
        links
      else
        links.select { |link| link.match? args }
      end
    end
List links that match the attributes