add sl_to_bool
add sl_not
refactor code to use sl_make_bool instead of sprinkling conditionals everywhere