private boolean isClockedIn(){
		/*
		 * Query database for employee PIN
		 * Check Hours table for that pin and today's date
		 */
		int pin = getEmployeePin();
		boolean clockedIn = false;

		java.sql.Statement state = DBConnection.OpenConnection();
		//select any row that matches the selected employee's pin and hasn't clocked out yet
		String query = String.format("SELECT * FROM avalenti.Hours WHERE E_PIN = %s AND C_OUT = '%s';", pin, "0000-00-00 00:00:00");
		if(state != null){
			try {
				ResultSet rs = state.executeQuery(query);
				if(rs.next() == true) {
					clockedIn = true;
				}
				state.close();
			} catch (SQLException e) {
				System.err.println("Error in SQL Execution");
			}
		}
		else
			System.err.println("Statement was null.  No connection?");

		return clockedIn;
	}