public function hasSlugField()
    {
        foreach($this->_table_structure as $_field=>$field_structure) {
            if (isset($field_structure['slug']) && $field_structure['slug']===true) {
                return true;
            }
        }
        return false;
    }
public function hasSlugField()
    {
        foreach($this->_table_structure as $_field=>$field_structure) {
            if (isset($field_structure['slug']) && $field_structure['slug']===true) {
                return true;
            }
        }
        return false;
    }
public function hasSlugField ( ) { foreach ( $ this -> _table_structure as $ _field => $ field_structure ) { if ( isset ( $ field_structure [ 'slug' ] ) && $ field_structure [ 'slug' ] === true ) { return true ; } } return false ; }
Does the table have a slug field

@return bool True if the model has a slug field
Does the table have a slug field