def METHOD_NAME(self, value, attr, obj, **kwargs):
    """Serialise access status."""
    record_access_dict = obj.get("access")
    has_files = obj.get("files").get("enabled", False)
    if record_access_dict:
        record_access_status_ui = UIObjectAccessStatus(
            record_access_dict, has_files
        )
        return {
            "id": record_access_status_ui.id,
            "title_l10n": record_access_status_ui.title,
            "description_l10n": record_access_status_ui.description,
            "icon": record_access_status_ui.icon,
            "embargo_date_l10n": record_access_status_ui.embargo_date,
            "message_class": record_access_status_ui.message_class,
        }