def is_float(some_str):
    """Return True, if the given string represents a float value."""
    try:
        float(some_str)
        return True
    except ValueError:
        return False
Return True, if the given string represents a float value.
photogrammetry_importer/utility/type_utility.py