Is there a command to determine if a shell is a login or non-login shell?