def schema_table_exists(schema, table, conn):
    """Determines if the given table exists in the schema"""
    query = """
        SELECT EXISTS(
            SELECT * 
            FROM information_schema.tables 
            WHERE 
                table_schema = '{0}' AND
                table_name = '{1}'
        );
        """.format(schema, table)
    with conn.cursor() as cur:
        cur.execute(query)
        return cur.fetchone()[0] == 't'
    
    #return False