original_string: public function is_collapsed()
      {
          if ($this->wrappedObject->collapsed === 0) {
              return false;
          } elseif ($this->wrappedObject->collapsed === 1) {
              return true;
          }
  
          return $this->wrappedObject->components->filter(function ($component) {
              return $component->status > 1;
          })->isEmpty();
      }
code: public function is_collapsed()
      {
          if ($this->wrappedObject->collapsed === 0) {
              return false;
          } elseif ($this->wrappedObject->collapsed === 1) {
              return true;
          }
  
          return $this->wrappedObject->components->filter(function ($component) {
              return $component->status > 1;
          })->isEmpty();
      }
code_tokens: public function is_collapsed ( ) { if ( $ this -> wrappedObject -> collapsed === 0 ) { return false ; } elseif ( $ this -> wrappedObject -> collapsed === 1 ) { return true ; } return $ this -> wrappedObject -> components -> filter ( function ( $ component ) { return $ component -> status > 1 ; } ) -> isEmpty ( ) ; }
docstring: Determine if the group should be collapsed.
  
  @return bool
docstring_tokens: Determine if the group should be collapsed .