docs: public static RecordOwner getRecordOwner(RecordOwnerParent recordOwnerParent)
      {
          if (recordOwnerParent instanceof RecordOwner)
              return (RecordOwner)recordOwnerParent;  // Duh
          RecordOwner recordOwner = null;
          if (recordOwnerParent != null)
              if (recordOwnerParent.getTask() != null)
                  if (recordOwnerParent.getTask().getApplication() != null)
                      recordOwner = (RecordOwner)recordOwnerParent.getTask().getApplication().getSystemRecordOwner();
          return recordOwner;
      }