Zend/Gdata/Gapps.php
public function isMember($memberId, $groupId)
    {
        $uri  = self::APPS_BASE_FEED_URI . self::APPS_GROUP_PATH . '/';
        $uri .= $this->getDomain() . '/' . $groupId . '/member/' . $memberId;

        //if the enitiy is not a member, an exception is thrown
        try {
            $results = $this->get($uri);
        } catch (Exception $e) {
            $results = false;
        }

        if($results) {
            return TRUE;
        } else {
            return FALSE;
        }
    }
public function isMember($memberId, $groupId)
    {
        $uri  = self::APPS_BASE_FEED_URI . self::APPS_GROUP_PATH . '/';
        $uri .= $this->getDomain() . '/' . $groupId . '/member/' . $memberId;

        //if the enitiy is not a member, an exception is thrown
        try {
            $results = $this->get($uri);
        } catch (Exception $e) {
            $results = false;
        }

        if($results) {
            return TRUE;
        } else {
            return FALSE;
        }
    }
public function isMember ( $ memberId , $ groupId ) { $ uri = self :: APPS_BASE_FEED_URI . self :: APPS_GROUP_PATH . '/' ; $ uri .= $ this -> getDomain ( ) . '/' . $ groupId . '/member/' . $ memberId ; //if the enitiy is not a member, an exception is thrown try { $ results = $ this -> get ( $ uri ) ; } catch ( Exception $ e ) { $ results = false ; } if ( $ results ) { return TRUE ; } else { return FALSE ; } }
Check to see if a member id or group id is a member of group

@param string $memberId Member id or group group id
@param string $groupId Group to be checked for
@return bool True, if given entity is a member
Check to see if a member id or group id is a member of group