public function isAllowed($bucketName) { return $this->getS3()->getApiHandler()->headBucket($bucketName) == 200; }