Return True if all items in lst are string objects.
(lst)
| 488 | return isinstance(s, str) |
| 489 | |
| 490 | def all_strings(lst): |
| 491 | """Return True if all items in lst are string objects. """ |
| 492 | for item in lst: |
| 493 | if not is_string(item): |
| 494 | return False |
| 495 | return True |
| 496 | |
| 497 | def is_sequence(seq): |
| 498 | if is_string(seq): |
no test coverage detected