new function: is_login_shell
mods