Strange function in ActivityManager: isUserAMonkey. What does this mean, what is its use?
<p>I found the following function in package <code>android.app.ActivityManager</code>.</p>

<pre><code>public static boolean isUserAMonkey ()
</code></pre>

<p>The <a href="http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey%28%29" rel="nofollow">reference</a> describes:</p>

<pre><code>public static boolean isUserAMonkey ()   Since: API Level 8

Returns "true" if the user interface is currently being messed with by a monkey.
</code></pre>

<p>I was shocked by this strange function. And have a few questions.</p>

<ul>
<li><p>What does this (user interface is currently being messed with by a
monkey) mean?</p></li>
<li><p>What is the practical use of this function?</p></li>
<li><p>Why do they use <code>isUserAMonkey</code> for the function name?</p></li>
</ul>
