public function has($property)
    {
        $defaultCurrentValue = [];
        $data = $this->session->get($this->_name, $defaultCurrentValue);

        return isset($data[$property]);
    }
public function has($property)
    {
        $defaultCurrentValue = [];
        $data = $this->session->get($this->_name, $defaultCurrentValue);

        return isset($data[$property]);
    }
public function has ( $ property ) { $ defaultCurrentValue = [ ] ; $ data = $ this -> session -> get ( $ this -> _name , $ defaultCurrentValue ) ; return isset ( $ data [ $ property ] ) ; }
Check whether a property is defined in the internal bag

@param string $property

@return bool
Check whether a property is defined in the internal bag