test whether results element is present or not