def is_number_tryexcept(s):
    """ 
    Returns True if string `s` is a number.

    Taken from: https://stackoverflow.com/questions/354038/how-do-i-check-if-a-string-is-a-number-float
    """
    try:
        float(s)
        return True
    except ValueError:
        return False