Is there any method to check options table existence?

I am writing a method that is responsible for creating table, and it depends on an option.

When I run this on a fresh database, it throws error that options table does not exists. Is there any prepared method in wordpress for checking of options table existence?

I am using following code for checking a specific option and then creating required table:

if (!get_option('my_specific_key', 0)) {

   ... running sqls here

Go to Source