def _is_valid_table(self, cursor, table_name):
        """
        Determines whether a table name represents a legal table in the
        current database, throwing an ``Error`` if not.

        :Parameters:
            cursor : Cursor
                an open ``Cursor``

            table_name : str
                the table name

        :rtype: bool
        :return: ``True`` if the table is valid, ``False`` if not
        """
        tables = self.get_tables(cursor)
        return tables in table_name
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/grizzled/grizzled/db/base.py/DBDriver._is_valid_table/swapped operands of `in`