title: discord.py testing for roles not working. always returns false
body: <p>I want a to test if a user has one of two specific roles but for some reason the code i wrote always returns false. </p>
  
  <p>I also tried a different approach, that always returned true. also havent gotten an answer on the discord.py discord server</p>
  
  <pre><code>#first approach. always returns false
  def isMod(user):
      for role in user.roles:
          if role.id==587614886771687445:
              return True
          elif role.id==587615608279924756:
              return True
      return False
  
  
  
  #second approach. always returns true
  def isMod(user):
      if discord.utils.get(user.roles, id=587614886771687445) is None and discord.utils.get(user.roles, id=587615608279924756):
          return False
      else:
          return True
  </code></pre>
  
  <p>It should return true, if the user has one or both of the roles with the given id and false, if they dont.</p>