<p>How can i check to see if a static class has been declared?
ex
Given the class</p>

<pre><code>class bob {
    function yippie() {
        echo "skippie";
    }
}
</code></pre>

<p>later in code how do i check:</p>

<pre><code>if(is_a_valid_static_object(bob)) {
    bob::yippie();
}
</code></pre>

<p>so i don't get:
Fatal error: Class 'bob' not found in file.php on line 3</p>

```
bool class_exists( string $class_name [, bool $autoload  ]
```
)
This function checks whether or not the given class has been defined.