implemented 'x in y' syntax instead of 'y.has(x)' for Attributes