Added hasattr implementation buildin