How can I check to see if a registry key has permissions to be deleted? I'd prefer the shortest and simplest code possible. Thanks