I want to create a dashboard which should have a table where each row is a dashboard and columns are panels of the dashboard. And the value should be either "Found Results" (if the panel of the specific dashboard has results) or "No Results" ( if the panel returns no results).
I'm not sure you can do that. Unlike scheduled searches, there is no log showing which dashboard panels had results. The access logs will show which dashboards were accessed, but not their content (other than a byte count).
You can use REST to get a list of dashboards, but then you'd have to parse the data to get a list of panels, extract the query from each panel, and run the searches to get results. That doesn't account for any required inputs.
--- If this reply helps you, an upvote would be appreciated.