In Odoo 12 you can check whether a user is in an access group by using self.env.user.has_group.
For example, I can set up a boolean computed field that is True if the user is in a user access group:
for record in self:
record['x_studio_authorization1'] = True
But in Odoo 13 this gives an error message for users who are not in the user access group. It's just a dialog box with the heading "Something went wrong" followed by the Model, ID & Field.
As noted below in the comments, this error only happens if the computed field is NOT defined as "stored", which seems to be different from Odoo 12. The problem is that if the field is stored it doesn't work (because it doesn't get updated).