title: An element in a tuple or not in erlang?
body: <p>I'd like to know if there is a function in Erlang can help me know whether an element is in a tuple or not. Like sets:is_element/2.</p>
  
  <pre><code>Tuple = {aaa,bbb,ccc}.
  is_element_of_tuple(Tuple, aaa)  % =&gt; true
  is_element_of_tuple(Tuple, ddd)  % =&gt; false
  </code></pre>