How to know if a node has been up once?

Problem:
Suppose a node has been added which is Down at that moment. Now, after sometime it’s been up and down again.
Now, I want to know if this node has been active in his life once.
How can know this?
Is there any API to get this data using filtering?

Expected outcome:
At a glance, Is there any data or APIs which give data about a node that has been Up or been up once in his life(Basically Data of all Nodes excluding those nodes that never comes Up)?

**OpenNMS version:28.02