def get_item_type(self, ttype):
for i in self.map_item:<EOL><INDENT>if TYPE_MAP_ITEM[i.get_type()] == ttype:<EOL><INDENT>return i.get_item()<EOL><DEDENT><DEDENT>return None<EOL>
Get a particular item type

:param ttype: a string which represents the desired type

:rtype: None or the item object