Python Check If Dictionary Has Value