def stringify(item):
    """
    Returns a quoted string item if passed argument
    is a string, else returns a string representation
    of that argument.

    If passed argument is None, returns None.

    Parameters
    ----------
    item : Any type
        Item to be parsed.

    Returns
    -------
    str or None
    """

    if item is None: # THIS IS ACTUALLY NOT NEEDED? HMMMMM
        return 'NULL'
    elif isinstance(item, str):
        item = item.replace("'","''")
        return f"'{item}'"
    else:
        return str(item)