How can I check if a certain user has sudo access, without having sudo access myself. The reason I ask is that I'm writing a bash script which will behave differently if the user running it has sudo access.