Checks if config contains option.
config
option
a BufferPool configuration
an option
true if the options array contains option.
true