title: Check if a value exists in a json file with python
body: <p>I've the following json file (banneds.json):</p>
  <pre><code>
  {
    &quot;players&quot;: [
      {
        &quot;avatar&quot;: &quot;https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/07/07aa315f664efa92456569429230bc2c254c3ff8_full.jpg&quot;,
        &quot;created&quot;: 1595050663,
        &quot;created_by&quot;: &quot;&lt;@128152620136267776&gt;&quot;,
        &quot;nick&quot;: &quot;teste&quot;,
        &quot;steam64&quot;: 76561198046619692
      },
      {
        &quot;avatar&quot;: &quot;https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/21/21fa5c468597e9c890212b2e3bdb0fac781c040c_full.jpg&quot;,
        &quot;created&quot;: 1595056420,
        &quot;created_by&quot;: &quot;&lt;@128152620136267776&gt;&quot;,
        &quot;nick&quot;: &quot;ingridão&quot;,
        &quot;steam64&quot;: 76561199058918551
      }
    ]
  }
  </code></pre>
  <p>And I want to insert new values if the new value (inserted by user) is not already in the json, however when I try to search if the value is already there I receive a false value, an example of what I'm doing ( not the original code, only an example ):</p>
  <pre class="lang-py prettyprint-override"><code>import json
  
  check = 76561198046619692
  with open('banneds.json', 'r') as file:
      data = json.load(file)
  if check in data:
      print(True)
  else:
      print(False)
  </code></pre>
  <p>I'm always receiving the &quot;False&quot; result, but the value is there, someone can give me a light of what I'm doing wrong please? I tried the entire night to find a solution, but no one works :(</p>
  <p>Thanks for the help!</p>