Added "HasElements" method