original_string: public function canDelete($member=null) {
          $parentResult=parent::canDelete($member);
          
          if($parentResult==false || $this->UserLanguage==false) {
              return false;
          }
          
          if($this->Folders()->count()>0 || $this->Snippets()->count()>0) {
              return false;
          }
          
          return true;
      }
code: public function canDelete($member=null) {
          $parentResult=parent::canDelete($member);
          
          if($parentResult==false || $this->UserLanguage==false) {
              return false;
          }
          
          if($this->Folders()->count()>0 || $this->Snippets()->count()>0) {
              return false;
          }
          
          return true;
      }
code_tokens: public function canDelete ( $ member = null ) { $ parentResult = parent :: canDelete ( $ member ) ; if ( $ parentResult == false || $ this -> UserLanguage == false ) { return false ; } if ( $ this -> Folders ( ) -> count ( ) > 0 || $ this -> Snippets ( ) -> count ( ) > 0 ) { return false ; } return true ; }
docstring: Checks to see if the given member can delete this object or not
  @param {Member} $member Member instance or member id to check
  @return {bool} Returns boolean true or false depending if the user can delete this object
docstring_tokens: Checks to see if the given member can delete this object or not