def is_user_reseller_admin(self, req, account, user):
req.credentials_valid = True<EOL>user_json = self.get_user_detail(req, account, user)<EOL>if user_json is None:<EOL><INDENT>req.credentials_valid = False<EOL>return False<EOL><DEDENT>user_detail = json.loads(user_json)<EOL>return '<STR_LIT>' in (g['<STR_LIT:name>'] for g in user_detail['<STR_LIT>'])<EOL>
Returns True if the user is a .reseller_admin.

        :param account: account user is part of
        :param user: the user
        :returns: True if user .reseller_admin, False
                  if user is not a reseller_admin and None if the user
                  doesn't exist.