Added method to find if there's any object with a given key.