Added a way of checking if an item is a weapon