def is_quoted_str(s):
    """
    >>> is_quoted_str('')
    False
    >>> is_quoted_str('"')
    False
    >>> is_quoted_str('Hi')
    False
    >>> is_quoted_str('"Hi\\'')
    False
    >>> is_quoted_str('"Hi"')
    True
    >>> is_quoted_str("''")
    True
    >>> any( map(is_quoted_str, [0, tuple(), list()]))
    False
    """
    QUOTES = {"'", '"'}
    return isinstance(s, str) and len(s) >= 2 and s[0] == s[-1] and s[0
        ] in QUOTES
