public boolean lockAvailable(final String lock)	{
		Integer hasLock = locks.get(lock);
		if (hasLock != null)	{
			hasLock = getLockStatus(hasLock);
			return hasLock.equals(LockStatuses.available) || hasLock.equals(LockStatuses.given);
		}
		else
			return true;
	}