public boolean isValid() {
			if (type == PropertyType.KEY) {
				return Keyboard.getKeyName((int) num) != null;
			}
			if (type == PropertyType.STRING) {
				return str != null;
			}
			if (type == PropertyType.BOOLEAN || type == PropertyType.INT || type == PropertyType.DOUBLE) {
				return true;
			}
			return false;
		}