original_string: public function is_empty_area() {
          if ($child = $this->get_area_backup(0, '/', '.')) {
              if (!$child->is_empty_area()) {
                  return false;
              }
          }
          if ($child = $this->get_area_intro(0, '/', '.')) {
              if (!$child->is_empty_area()) {
                  return false;
              }
          }
  
          foreach ($this->areas as $area=>$desctiption) {
              if ($child = $this->get_file_info('mod_'.$this->modname, $area, null, null, null)) {
                  if (!$child->is_empty_area()) {
                      return false;
                  }
              }
          }
  
          return true;
      }
code: public function is_empty_area() {
          if ($child = $this->get_area_backup(0, '/', '.')) {
              if (!$child->is_empty_area()) {
                  return false;
              }
          }
          if ($child = $this->get_area_intro(0, '/', '.')) {
              if (!$child->is_empty_area()) {
                  return false;
              }
          }
  
          foreach ($this->areas as $area=>$desctiption) {
              if ($child = $this->get_file_info('mod_'.$this->modname, $area, null, null, null)) {
                  if (!$child->is_empty_area()) {
                      return false;
                  }
              }
          }
  
          return true;
      }
code_tokens: public function is_empty_area ( ) { if ( $ child = $ this -> get_area_backup ( 0 , '/' , '.' ) ) { if ( ! $ child -> is_empty_area ( ) ) { return false ; } } if ( $ child = $ this -> get_area_intro ( 0 , '/' , '.' ) ) { if ( ! $ child -> is_empty_area ( ) ) { return false ; } } foreach ( $ this -> areas as $ area => $ desctiption ) { if ( $ child = $ this -> get_file_info ( 'mod_' . $ this -> modname , $ area , null , null , null ) ) { if ( ! $ child -> is_empty_area ( ) ) { return false ; } } } return true ; }
docstring: Whether or not this is an emtpy area
  
  @return bool
docstring_tokens: Whether or not this is an emtpy area