TASK DEFINITION: In this task you will be given a passage and a yes/no question based on the passage. You should answer the question using the information from the passage.
PROBLEM: passage: St James's Palace is still a working palace, and the Royal Court is still formally based there, despite the monarch residing elsewhere. It is also the London residence of the Princess Royal, Princess Beatrice of York, and Princess Alexandra. The palace is used to host official receptions, such as those of visiting heads of state, and charities of which members of the royal family are patrons. The Palace forms part of a sprawling complex of buildings housing Court offices and officials' apartments. The immediate palace complex includes York House, the former home of the Prince of Wales and his sons, Princes William and Harry. Lancaster House, located next-door, is used by HM Government for official receptions, and the nearby Clarence House, the former home of the Queen Mother, is now the residence of the Prince of Wales. The palace also served as the official residence for Princess Eugenie of York until April 2018.
question: does the queen stay at st james palace?

SOLUTION: No

PROBLEM: passage: The Green Inferno is a 2013 American cannibal horror film directed by Eli Roth. The film was inspired by and is a homage to Italian cannibal films of the late 1970s and early '80s ''cannibal boom'', including Cannibal Holocaust (1980), which features a film-within-a-film titled The Green Inferno. The film follows a group of activists who are forced to fight for survival when they are captured by a cannibalistic tribe.
question: is the green inferno based on actual events?

SOLUTION: No

PROBLEM: passage: Impeachment in the United States is the process by which the lower house of a legislature brings charges against a civil officer of government for crimes alleged to have been committed, analogous to the bringing of an indictment by a grand jury. At the federal level, this is at the discretion of the House of Representatives. Most impeachments have concerned alleged crimes committed while in office, though there have been a few cases in which officials have been impeached and subsequently convicted for crimes committed prior to taking office. The impeached official remains in office until a trial is held. That trial, and their removal from office if convicted, is separate from the act of impeachment itself. Analogous to a trial before a judge and jury, these proceedings are (where the legislature is bicameral) conducted by upper house of the legislature, which at the federal level is the Senate.
question: can you impeached a president for something done before taking office?

SOLUTION:
Yes