def __is_number(s):
    """
    Function that checks if sting is float.

    :param s: string
    :return: boolean
    """
    try:
        float(s)
        return True
    except ValueError:
        return False