if (acct.isCorrectHost()) {
if (acct != null && acct.isCorrectHost()) {
    public Session(String accountId, String sessionId, int type) throws ServiceException {        mAccountId = accountId;        mSessionId = sessionId;        mSessionType = type;        Account acct = Provisioning.getInstance().getAccountById(accountId);        if (acct.isCorrectHost()) {            // add this Session to the Mailbox or die trying            mMailbox = Mailbox.getMailboxByAccountId(accountId);            mMailbox.addListener(this);        }        updateAccessTime();    }