!= None => not is None
has_key => in