Prefer short-circuit to undefined check