function() {
			var self = this, storage = self.storage, expDate, exists;

			if (storage) {
				// Does the item exist at all
				exists = !!storage.getItem(self.key);
				if (exists) {
					// Storage needs autoexpire
					if (!self.storage.autoExpires) {
						expDate = new Date(storage.getItem(self.key + "_expires"));

						// Contents hasn't expired
						if (new Date().getTime() < expDate.getTime())
							return TRUE;

						// Remove it if it has
						self.removeDraft();
					} else
						return TRUE;
				}
			}

			return false;
		}
function() {
			var self = this, storage = self.storage, expDate, exists;

			if (storage) {
				
				exists = !!storage.getItem(self.key);
				if (exists) {
					
					if (!self.storage.autoExpires) {
						expDate = new Date(storage.getItem(self.key + "_expires"));

						
						if (new Date().getTime() < expDate.getTime())
							return TRUE;

						
						self.removeDraft();
					} else
						return TRUE;
				}
			}

			return false;
		}
function ( ) { var self = this , storage = self . storage , expDate , exists ; if ( storage ) { // Does the item exist at all
 exists = ! ! storage . getItem ( self . key ) ; if ( exists ) { // Storage needs autoexpire
 if ( ! self . storage . autoExpires ) { expDate = new Date ( storage . getItem ( self . key + "_expires" ) ) ; // Contents hasn't expired
 if ( new Date ( ) . getTime ( ) < expDate . getTime ( ) ) return TRUE ; // Remove it if it has
 self . removeDraft ( ) ; } else return TRUE ; } } return false ; }
This method will return true/false if there is a local storage draft available.

@method hasDraft
@return {boolean} true/false state if there is a local draft.
This method will return true / false if there is a local storage draft available .