returns a dictionary of properties assigned to the class

def list_base_properties(bases):
    """ returns a dictionary of properties assigned to the class"""
    rtn_dict = {}
    for base in bases:
        if hasattr(base, 'properties'):
            rtn_dict.update(base.properties)
    return rtn_dict