def add_role_to_user(self, user, role):
        """Adds a role to a user.

        :param user: The user to manipulate
        :param role: The role to add to the user
        """
        user, role = self._prepare_role_modify_args(user, role)
        if user.roles not in role:
            user.roles.append(role)
            self.put(user)
            return True
        return False
dataset/ETHPy150Open mattupstate/flask-security/flask_security/datastore.py/UserDatastore.add_role_to_user/swapped operands of `not in`