def as_float(value):
    """ Converts a value to a float if possible
          On success, it returns (converted_value, True)
          On failure, it returns (None, False)
    """
    try:
        return float(value), True
    except Exception as exception:  # Catch all exception including ValueError
        return None, False