Name: In __getitem__ check for primitive type int with type()