title: Checking if an attribute is equal to a list of string values
body: <p>According to a business requirement, I will need not check if the value of an attribute if it equal to a list of given string values.
  I am wondering what is the better way to do it, in case if someday there is a new value that needs to be added. Should these values be stored in a table?</p>
  <pre><code>List&lt;String&gt; values = new ArrayList&lt;&gt;();
  values.add(&quot;value1&quot;);
  values.add(&quot;value2&quot;);
  values.add(&quot;value3&quot;);
  
  if(values.contains(brand){
  // if the brand contains the given values
  // implement a specific logic
  }
  </code></pre>
  <p>Thank you</p>