def is_str_like(content):
    """Check if an instance is string-like

    Parameters
    ----------
    content : str
       The content to check

    Returns
    -------
    bool
       True if is str like else False

    Note
    ----
    Function identical to :func:`numpy.is_str_like`, credits to the author

    """
    try:
        content + ""
    except (TypeError, ValueError):
        return False
    return True