check if result is set