def _IsDuplicateInterestedUser(url_entity, bots_user_key):
  """Checks if bots_user_key exist in interested_users.

  Args:
    url_entity: BotsUrl Entity to check for.
    bots_user_key: bots_user entity key (db.Key).

  Returns:
    True if bots_user_key exist in interested_users, else False.
  """
  return str(bots_user_key) in [str(x) for x in url_entity.interested_users]