Logic readability in salt.utils