public boolean exists ( BucketSourceOption ... options ) { int length = options . length ; Storage . BucketGetOption [ ] getOptions = Arrays . copyOf ( toGetOptions ( this , options ) , length + 1 ) ; getOptions [ length ] = Storage . BucketGetOption . fields ( ) ; return storage . get ( getName ( ) , getOptions ) != null ; }
Checks if this bucket exists .