original_string: public function hasTabs(): bool
      {
          if ( ! $this->layout || ! count($this->layout)) {
              return false;
          }
  
          foreach ($this->layout as $key => $value) {
  
              if ($value instanceof ModelFormTabDataInterface) {
                  return true;
              }
          }
  
          return false;
      }
code: public function hasTabs(): bool
      {
          if ( ! $this->layout || ! count($this->layout)) {
              return false;
          }
  
          foreach ($this->layout as $key => $value) {
  
              if ($value instanceof ModelFormTabDataInterface) {
                  return true;
              }
          }
  
          return false;
      }
code_tokens: public function hasTabs ( ) : bool { if ( ! $ this -> layout || ! count ( $ this -> layout ) ) { return false ; } foreach ( $ this -> layout as $ key => $ value ) { if ( $ value instanceof ModelFormTabDataInterface ) { return true ; } } return false ; }
docstring: Returns whether a layout with tabs is set.
  
  @return bool
docstring_tokens: Returns whether a layout with tabs is set .