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();
    }
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();
    }
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 ( ) ; }
Determine if the group should be collapsed.

@return bool
Determine if the group should be collapsed .