Itemcommand Contains Function Python Format String