Add delete state return

delete function now return a bool which specify whether or not a key was deleted.