def get_first(values: list):
    """
    Function that takes in a list and returns the first value (and the .text attribute if it exists), otherwise returns nothing
    
    @param values: list that contains 0-many results
    @returns: the first item of the list or None
    """
    out=None
    if len(values) > 0:
        out=values[0]
        if out.text:
            out=out.text.strip()
    return(out)