Just for consistency: `if (graph == null)` instead