list(X).empty() returns true if alist is empty and false otherwise. If alist is null an exeception of type value.null will be raised.
string.empty() checks if astring is empty. This is faster than comparying astring with "" since it avoid the creation of a temporary string.
