has_prefix and has_suffix now support strings