code: def action_event_from_permission(prefix: str, permission: str) -> str:
      if permission.startswith("can_"):
          permission = permission[4:]
      if prefix:
          return f"{prefix}.{permission}"
      return permission
  
label_desc: Use image node_id 1 for calling a global function with example usage: action_event_from_permission(prefix, permission) and returns: permission, prefix, str, permission