<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def check_write_permission(self, user_id, do_raise=True):
 """ Check whether this user can write this node """

        return self.get_resource().check_write_permission(user_id, do_raise=do_raise)