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;
    }
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;
    }
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 ; }
Returns whether a layout with tabs is set.

@return bool
Returns whether a layout with tabs is set .