Typescript Check If An Element Is Not In A List