def has_cooling_system(bpr):
    """
    determines whether a building has a cooling system installed or not

    :param bpr: BuildingPropertiesRow
    :type bpr: cea.demand.building_properties.BuildingPropertiesRow
    :return: True or False
    :rtype: bool
    """

    if bpr.hvac['type_cs'] in {'T1', 'T2', 'T3', 'T4'}:
        return True
    elif bpr.hvac['type_cs'] in {'T0'}:
        return False
    else:
        raise ValueError('Invalid value for type_cs: %s' % bpr.hvac['type_cs'])