docs: public static boolean isSpreadSafe(Expression expression) {
          if (expression instanceof MethodCallExpression) {
              return ((MethodCallExpression) expression).isSpreadSafe();
          }
          if (expression instanceof PropertyExpression) {
              return ((PropertyExpression) expression).isSpreadSafe();
          }
          return false;
      }