Can you please provide any java api in jira to check if a group is readonly?

I checked in confluence which has UserAccessor.isReadOnly(Group group) api to check whether a group is readonly group or not. I need similar api for Jira. But not able to figure out the right api. Can you please suggest the right api?