def get_acl(self, obj): return serialize_acl(obj)
def get_acl(self, obj): if hasattr(obj, 'acl'): return serialize_acl(obj) else: return {}