public boolean hasPlayer(String player) {
		String query = "SELECT * FROM nosecandy WHERE playername='" + player + "';";
		ResultSet result = null;
		result = this.sqlite.query(query);

		try {
			if (result != null && result.next()) {
				String name = result.getString("playername");
				if (name.equals(player)) {
					result.close();
					return true;
				}
			}
		} catch (SQLException e) {
			e.printStackTrace();
		}

		try {
			result.close();
		} catch (SQLException e) {
			e.printStackTrace();
		}

		return false;

	}