public function isMemberOfList($listId, $id, $args = array(), $returnRaw = false)
    {
        $args['listId'] = $listId;
        $args['id'] = $id;

        return $this->getResult('isMemberOfList', $args, is_array($id), $returnRaw);
    }
public function isMemberOfList($listId, $id, $args = array(), $returnRaw = false)
    {
        $args['listId'] = $listId;
        $args['id'] = $id;

        return $this->getResult('isMemberOfList', $args, is_array($id), $returnRaw);
    }
public function isMemberOfList ( $ listId , $ id , $ args = array ( ) , $ returnRaw = false ) { $ args [ 'listId' ] = $ listId ; $ args [ 'id' ] = $ id ; return $ this -> getResult ( 'isMemberOfList' , $ args , is_array ( $ id ) , $ returnRaw ) ; }
Check if a lead is a member of a list.

@param int       $listId List ID
@param int|array $id     Lead ID or an array of Lead IDs
@param array     $args

@link http://developers.marketo.com/documentation/rest/member-of-list/

@return IsMemberOfListResponse
Check if a lead is a member of a list .