pub fn looks_like_access_control(func: &Function<'_>) -> bool
A function whose name marks it as an access check (auth, onlyOwner, _checkRole, …) and that returns nothing, so calling it for its effect is meaningful.
auth
onlyOwner
_checkRole