/**
  * Returns true, if the given user is a buddy of the active user.
  * 
  * @return	boolean
  */
 public static function isBuddy($userID)
 {
     if (self::$buddies === null) {
         self::$buddies = array();
         if (WCF::getUser()->buddies) {
             self::$buddies = explode(',', WCF::getUser()->buddies);
         }
     }
     if (count(self::$buddies)) {
         return in_array($userID, self::$buddies);
     }
     return false;
 }