def METHOD_NAME(self):
    for account_name, expected in [
            ("Assets:US:RBS:Checking", False),
            ("Equity:Opening-Balances", False),
            ("Income:US:ETrade:Dividends-USD", False),
            ("Assets", True),
            ("Liabilities", True),
            ("Equity", True),
            ("Income", True),
            ("Expenses", True),
            ("_invalid_", False),
            ("Invalid", True),
    ]:
        self.assertEqual(
            expected,
            account_types.is_root_account(account_name))
    self.assertTrue(account_types.is_root_account('Invalid'))