public function isExpired() : bool
    {
        return $this->getExpiryAttribute()->timestamp < Carbon::now()->timestamp
            && $this->length !== 0
            && !$this->isRemoved();
    }
public function isExpired() : bool
    {
        return $this->getExpiryAttribute()->timestamp < Carbon::now()->timestamp
            && $this->length !== 0
            && !$this->isRemoved();
    }
public function isExpired ( ) : bool { return $ this -> getExpiryAttribute ( ) -> timestamp < Carbon :: now ( ) -> timestamp && $ this -> length !== 0 && ! $ this -> isRemoved ( ) ; }
Check if cage is expired

@return bool
Check if cage is expired