def _slugs(base):
    """
    Returns list of attrs slugs attached to base

    :param base:    class inherited from ``AbstractEntity``
    :returns:       list of slugs
    :rtype:         list

    """
    if hasattr(base, 'attrs'):
        return [attr.slug for attr in base.attrs]
    return []