src/ZfcUser/Authentication/Storage/Db.php
public function isEmpty()
    {
        if ($this->getStorage()->isEmpty()) {
            return true;
        }
        $identity = $this->getStorage()->read();
        if ($identity === null) {
            $this->clear();
            return true;
        }

        return false;
    }
public function isEmpty()
    {
        if ($this->getStorage()->isEmpty()) {
            return true;
        }
        $identity = $this->getStorage()->read();
        if ($identity === null) {
            $this->clear();
            return true;
        }

        return false;
    }
public function isEmpty ( ) { if ( $ this -> getStorage ( ) -> isEmpty ( ) ) { return true ; } $ identity = $ this -> getStorage ( ) -> read ( ) ; if ( $ identity === null ) { $ this -> clear ( ) ; return true ; } return false ; }
Returns true if and only if storage is empty

@throws \Zend\Authentication\Exception\InvalidArgumentException If it is impossible to determine whether
storage is empty or not
@return boolean
Returns true if and only if storage is empty