Python - test whether object is a builtin function
<p>Is there a nice way to check whether object o is a builtin Python function?</p>

<p>I know I can use, for example</p>

<pre><code>type(o) == type(pow)
</code></pre>

<p>because type(pow) is 'builtin_function_or_method'.</p>

<p>But is there some nicer way?</p>
