Could do just one check for native if nested `if`s are used.