Is it possible to get HasUniqueRoleAssignments with Graph API or do you have to use the SharePoint REST API?
Unfortunately, we don't have GRAPH api to check permissions for SharePoint objects....you have to rely on SharePoint REST API. Below end point can be use.
This will return true or false based, $select property will work at site, web, list and list item level.
Hope this is useful...