public boolean checkLogin(String login) throws DaoException {
        Connection connection = null;
        ResultSet rs = null;
        PreparedStatement ps = null;
        try {
            connection = dataSource.getConnection();
            ps = connection.prepareStatement(SELECT_FROM_PERSONS_BY_LOGIN);
            ps.setString(1, login);
            rs = ps.executeQuery();
            if (rs.next()) {
                return false;
            } else {
                return true;
            }
        } catch (SQLException e) {
            throw new DaoException(); // TODO: Add discription of Exception
        } finally {
            closeConection(connection, rs, ps);
        }
    }