original_string: public static function can_create_data_request_for_user($user, $requester = null) {
          $usercontext = \context_user::instance($user);
  
          return has_capability('tool/dataprivacy:makedatarequestsforchildren', $usercontext, $requester);
      }
code: public static function can_create_data_request_for_user($user, $requester = null) {
          $usercontext = \context_user::instance($user);
  
          return has_capability('tool/dataprivacy:makedatarequestsforchildren', $usercontext, $requester);
      }
code_tokens: public static function can_create_data_request_for_user ( $ user , $ requester = null ) { $ usercontext = \ context_user :: instance ( $ user ) ; return has_capability ( 'tool/dataprivacy:makedatarequestsforchildren' , $ usercontext , $ requester ) ; }
docstring: Checks whether a non-DPO user can make a data request for another user.
  
  @param   int     $user The user ID of the target user.
  @param   int     $requester The user ID of the user making the request.
  @return  bool
docstring_tokens: Checks whether a non - DPO user can make a data request for another user .