def acl_checks(user):
 return Check.objects.filter(project_id__in=Project.objects.get_acl_ids(user))

def acl_checks ( user ) : return Check . objects . filter ( project_id__in = Project . objects . get_acl_ids ( user ) )
filter checks by acl .