'Get the UserShareAssociations for the `item`.
Optionally send in `user` to test for a single match.'

def get_share_assocs(self, item, user=None):

    query = self.query_associated(self.user_share_model, item)
    if (user is not None):
        query = query.filter_by(user=user)
    return query.all()
