def snapshot_pending(self): tasks = Task.get_pending_tasks(self, CREATE_SNAPSHOT) if tasks: return True return False