check_static
This is a follow-up patch that moves the mut slice check to the recently added `check_static` Closes #11411