How do I know if a record is locked (i.e.) I don't have sufficient permissions to edit it.
I am mapping over an array of fulfillment Ids and updating a checkbox on them with a submitFields.
Some of the older fields are giving me an error
"name":"INSUFFICIENT_PERMISSION","message":"You do not have permissions to edit this transaction.",
Is there a way to know before attempting to submitFields or should I just wrap in try catch and move on in life?