text: I?
  From their source, it looks like the method returns
  false all the time:
  /** *.; }
  I don't know if this was "the" official use case but the following produces a warning in Java (that can further produce compile errors if mixed with
  return statements, leading to unreachable code):
  if(1 == 2) { System.out.println("Unreachable code"); }
  However this is legal:
  if.
  There's a funny named method/constant/whatever in each version of Android.
  The only practical use I ever saw was in the Last Call for Google I/O Contest where they asked what it was for a particular version, to see if contestants read the API diff report for each release. The contest had programming problems too, but generally some trivia that could be graded automatically first to get the number of submissions down to reasonable amounts that would be easier to check.
  Google has a serious liking for goats and goat based Easter eggs. There has even been previous Stack Overflow posts about it.
  As has been mentioned in previous posts, it also exists within the Chrome task manager (it first appeared in the wild in 2009):
  <message name="IDS_TASK_MANAGER_GOATS_TELEPORTED_COLUMN" desc="The goats teleported column"> Goats Teleported </message>
  And then in Windows, Linux and Mac versions of Chrome early 2010). The number of "Goats Teleported" is in fact random:
  int TaskManagerModel::GetGoatsTeleported(int index) const { int seed = goat_salt_ * (index + 1); return (seed >> 16) & 255; }
  Other Google references to goats include:
  The earliest correlation of goats and Google belongs in the original "Mowing with goats" blog post, as far as I can tell.
  We can safely assume that it's merely an Easter egg and has no real-world use, except for returning
  false.
  There is a similar call,
  isUserAMonkey(), that returns true if the MonkeyRunner tool is being used. The SDK explanation is just as curious as this one.
  static boolean isUserAMonkey() Returns "true" if the user interface is currently being messed with by a monkey.
  I expect that this was added in anticipation of a new SDK tool named something with a goat and will actually be functional to test for the presence of that tool.
  Also see a similar question, Strange function in ActivityManager : isUserAMonkey- what does this mean, what is its use?.
  Complementing the @djechlin particular case, will clog the breakpoint mark, making it difficult to enable/disable it. If the method is used as a convention, all the invocations could be later filtered by some script (during commit phase maybe?).
  Google guys are heavy Eclipse users (they provide several of their projects as Eclipse plugins: Android SDK, GAE, etc), so the @djechlin answer and this complementary answer make a lot of sense (at least for me).
  In the discipline of speech recognition, users are divided into goats and sheeps. future to be able to configure the speech recognition engine for goat's needs. ;-)
  As of API 21 (the first Android 5.0/Lollipop SDK), this detects whether the Goat Simulator app is installed:
  /** *"); }
  This should make it clear that AAA's suggestion of using it as a warning-free
  if (false) is a potentially disastrous strategy. What previously returned
  false for every device now returns a seemingly random value: if this was buried deep enough in your code it could take a long time to figure out where your new bugs are coming from.
  Bottom line: if you don't control the implementation of a method and decide to use it for purposes other than stated in the API documentation, you're heading for trouble.
  Funny easter egg that can be used to create always
  false tests to avoid executing a code block without compilation errors or warnings.
  if(isUserAGoat()) { System.out.println("this block does not execute..."); }
  Also, goats can be funny AND cute:
  Similar Questions