@Contract("null -> true")
  public static boolean isPassByValue(Object result) {
    // does not need a session, pass by value
    return result == null
           || result instanceof String
           || result instanceof Boolean
           || result instanceof Integer
           || result instanceof Long
           || result instanceof Byte
           || result instanceof Short
           || result instanceof Double
           || result instanceof Float
           || result instanceof LocalDate
           || result instanceof LocalDateTime
           || result instanceof Duration
           || result instanceof Point
           || result instanceof PassByValue;
  }
@Contract("null -> true")
  public static boolean isPassByValue(Object result)