Add convenience method to check if there is a registered handle.