def _table_exists(client, database, table):
    """
    Check if a specific Glue table exists
    """
    try:
        client.get_table(DatabaseName=database, Name=table)
        return True
    except client.exceptions.EntityNotFoundException:
        return False