'A dataset is considered public if there are no "access" actions
associated with it.  Any other actions ( \'manage permissions\',
\'edit metadata\' ) are irrelevant. Accessing dataset.actions
will cause a query to be emitted.'

def dataset_is_public(self, dataset):

    return (self.permitted_actions.DATASET_ACCESS.action not in [a.action for a in dataset.actions])
