networkx.utils.misc.is_string_like

is_string_like(obj)[source]

Check if obj is string.