There are two things you can do: 1) think: better safe than sorry, and add the check, 2) enforce str type with a `leap_assert`. Like it is right now, it might fail, who knows.