Barack and Michelle Obama’s relationship is routinely exalted as the type of union to which we all should aspire. The former president not only showers his former first lady with praise in speech after speech, but frequently shares tender messages to her on social media.

If you were pondering the secret to their 25 years of wedded bliss, a major hint can be found in the three questions Mr Obama recommends people wondering whether they have found Mr or Ms Right ask themselves.

In his new book Yes, We (Still) Can, Dan Pfeiffer, Mr Obama’s former communications director, shares a revealing conversation he had with his boss on his last day back in 2015.

As the pair discussed future plans, Mr Pfieffer opened up about his relationship.

“So are you guys moving together? This is the one, huh?” he recounted Mr Obama asking him.

Mr Obama is then said to have imparted the pearls of wisdom.

“Here’s the advice I give everyone about marriage: is she someone you find interesting?” Mr Pfeiffer quoted Mr Obama as saying in an excerpt from the book recently shared on social media.

Mr Pfeiffer admits the question baffled him initially, but Mr Obama sought to clarify it, saying: “You will spend more time with this person than anyone else for the rest of your life, and there is nothing more important than always wanting to hear what she has to say about things.”

The next two questions were more straightforward.

"Does she make you laugh? And I don't know if you want kids, but if you do, do you think she will be a good mum?" he continued.

"Life is long. These are the things that really matter over the long term,” he told Mr Pfeiffer.

After pondering the former president’s questions for a moment, he replied his partner was "incredibly interesting, funnier than I am and will be a phenomenal mum".

Mr Obama later went on to attend his wedding.

The former first couple, both Chicago natives, met in the late 1980s at a local law firm called Sidley & Austin. At the age of just 25, Michelle was assigned as a mentor to an associate, a charismatic young man with a ready smile called Barack.

Michelle resisted when he first asked her out, once saying in an interview that she felt it would be “tacky" if they started dating because they were ”the only two black people“ at the company.

But she did not put up a fight for long. They started stepping out together that summer. By 1991 they were engaged, with the wedding the following year.

Joe Biden and Barack Obama through the years Show all 15 1 /15 Joe Biden and Barack Obama through the years Joe Biden and Barack Obama through the years Joe Biden and Dr Jill Biden watch Barack Obama's farewell speech on 11 January. Obama called Biden his 'brother' Joe Biden and Barack Obama through the years US President Barack Obama speaks alongside US Vice President Joe Biden about the Affordable Care Act AFP/Getty Images Joe Biden and Barack Obama through the years Vice President Joe Biden and President Barack Obama Getty Joe Biden and Barack Obama through the years President Obama listens to Joe Biden speak of his work on defeating cancer on 18 October in the White House Reuters Joe Biden and Barack Obama through the years U.S. President Barack Obama is applauded by House Speaker Paul Ryan and Vice President Joe Biden while delivering his final State of the Union address to a joint session of Congress in Washington Reuters Joe Biden and Barack Obama through the years U.S. Vice President Joe Biden interjects as President Barack Obama delivers remarks at a reception for the 25th anniversary of the White House Initiative on Educational Excellence for Hispanics at the White House in Washington REUTERS Joe Biden and Barack Obama through the years Obama and Vice President Joe Biden react after a heckler was removed for their extended interruption (Reuters) Joe Biden and Barack Obama through the years U.S. President Barack Obama shakes hands with Speaker of the House John Boehner (R) as Vice President Joe Biden looks on Joe Biden and Barack Obama through the years Barack and Michelle Obama and Vice-President Joe Biden observing a moment of silence outside the White House to mark the 13th anniversary of the 9/11 attacks Getty Images Joe Biden and Barack Obama through the years Barack Obama and Joe Biden putt on the White House putting green Getty Joe Biden and Barack Obama through the years President Barack Obama and Joe Biden in April 2013 AFP/Getty Images Joe Biden and Barack Obama through the years January 1, 2013: U.S. President Barack Obama winks as he arrives with Vice President Joe Biden (L) in the briefing room Reuters Joe Biden and Barack Obama through the years President Barack Obama, Vice President Joe Biden and others receive an update on the mission against Osama bin Laden in the Situation Room of the White House May 1, 2011 in Washington, DC Getty Images Joe Biden and Barack Obama through the years Vice-President Joe Biden, right, confirmed that the US was looking at ways of taking legal action against Julian Assange - back in December 2010 GETTY IMAGES Joe Biden and Barack Obama through the years Joe Biden, left, and retired military officers watch President Barack Obama sign orders to close down the detention centre at Guantanamo Bay, Cuba, in January 2009 GETTY IMAGES

In May, she shared a photo from their October 1992 nuptials, saying the pair are “still having fun”.

“Twenty-five years later, we’re still having fun, while also doing the hard work to build our partnership and support each other as individuals,” the former first lady wrote.