def is_analytics_type(odk_type):
    """Test if an odk type is suitable for tracking in analytics.

    Args:
        odk_type (str): The type to test

    Returns:
        Return true if and only if odk_type is good for analytics
    """
    bad_types = (
        "type",
        "calculate",
        "hidden",
        "start",
        "end",
        "begin ",
        "deviceid",
        "simserial",
        "phonenumber",
    )
    bad = any((odk_type.startswith(bad) for bad in bad_types))
    return not bad and odk_type != ""