use `is_string` for the second check. An empty table prefix works too.