def set_focused(self, account, is_focused):<EOL>
endpoint = '<STR_LIT>'<EOL>if is_focused:<EOL><INDENT>classification = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>classification = '<STR_LIT>'<EOL><DEDENT>data = dict(ClassifyAs=classification, SenderEmailAddress=dict(Address=self.email))<EOL>r = requests.post(endpoint, headers=account._headers, data=json.dumps(data))<EOL>result = check_response(r)<EOL>self.focused = is_focused<EOL>return result<EOL>
Emails from this contact will either always be put in the Focused inbox, or always put in Other, based on
        the value of is_focused.

        Args:
            account (OutlookAccount): The :class:`OutlookAccount <pyOutlook.core.main.OutlookAccount>`
                the override should be set for
            is_focused (bool): Whether this contact should be set to Focused, or Other.

        Returns:
            True if the request was successful