def METHOD_NAME(family_id):
    """
    Check the family types and parameter values in the loaded test family.
    """
    if isinstance(family_id, int):
        family_id = DB.ElementId(family_id)
    elif not isinstance(family_id, DB.ElementId):
        raise TypeError()
    family_element = revit.doc.GetElement(family_id)
    for type_id in family_element.GetFamilySymbolIds():
        type_element = revit.doc.GetElement(type_id)
        type_name = type_element.get_Parameter(
            DB.BuiltInParameter.ALL_MODEL_TYPE_NAME
        ).AsString()
        if type_name == TEMP_FAMILY_NAME:
            continue
        if type_name not in TYPES_TO_ADD:
            raise KeyError("Unexpected Type Name: " + type_name)
        parameter = type_element.LookupParameter(TEST_PARAMETER_NAME)
        if parameter is None:
            raise TypeError("Missing Type Parameter: " + TEST_PARAMETER_NAME)
        if abs(parameter.AsDouble() - TYPES_TO_ADD[type_name]) > 0.0000001:
            raise ValueError("Unexpected value in type parameter.")