Hi @abinayaSirius
One way to know whether a page is a blueprint or not can be by knowing whether it have livecopy or not.
You can use below code to know whether it has a livecopy or not:
Resource resource = req.getResourceResolver().getResource("<path of the page you wanted to check for blueprint>...