Update __init__.py

added has_basetypes
added __eq__ and __ne__ to ItemBaseType, ItemData