private function isExpired(RiakObject $object) : bool
    {
        $metadataMap = $object->getMetadataMap();

        return isset($metadataMap[self::EXPIRES_HEADER])
            && $metadataMap[self::EXPIRES_HEADER] < time();
    }
private function isExpired(RiakObject $object) : bool
    {
        $metadataMap = $object->getMetadataMap();

        return isset($metadataMap[self::EXPIRES_HEADER])
            && $metadataMap[self::EXPIRES_HEADER] < time();
    }
private function isExpired ( RiakObject $ object ) : bool { $ metadataMap = $ object -> getMetadataMap ( ) ; return isset ( $ metadataMap [ self :: EXPIRES_HEADER ] ) && $ metadataMap [ self :: EXPIRES_HEADER ] < time ( ) ; }
Check if a given RiakObject has expired.
Check if a given RiakObject has expired .