* @param l
	 * @return
	 */
	private boolean hasKey(Player p, Lockable l) {
		boolean hasKey = false;

		if( p != null && l != null ) {
			final Object key = l.getKey();

			if( key != null ) {
				if(key instanceof MUDObject) {
					MUDObject k = (MUDObject) key;

					switch(k.getType()) {
					case ITEM:
						final Item item = (Item) k;

						if( p.hasItem(item) ) {
							hasKey = true;
						}

						break;
					default:
						break;
					}
				}
			}
		}

		return hasKey;
	}