added keyword checks to zobject before setting instance variables
Added __contains__ to collection class