Is the Canon RF 24-105mm F4-7.1 IS STM Lens sharp? This page visually answers that question. Shown above are 100% crops from a lab-captured 24mm f/5.6 test image. Observe the contrast and resolution of these results.
Is the Canon RF 24-105mm F4-7.1 IS STM Lens set to 24mm f/5.6 sharper than the Canon EF 24-105mm f/4L IS II USM Lens set to 50mm f/16.0? The image quality comparison above also answers that question. Switch between the results to see the sharpness differences between these lenses.