Added a BucketExists function to verify if a bucket does exist and that we have permission to access it.