helpful array methods- empty and contains, and property last