def is_effective_member(self, group_id, netid):
self._valid_group_id(group_id)<EOL>netid = re.sub('<STR_LIT>', '<STR_LIT>', netid)<EOL>url = "<STR_LIT>".format(self.API,<EOL>group_id,<EOL>netid)<EOL>try:<EOL><INDENT>data = self._get_resource(url)<EOL>return True  <EOL><DEDENT>except DataFailureException as ex:<EOL><INDENT>if ex.status == <NUM_LIT>:<EOL><INDENT>return False<EOL><DEDENT>else:<EOL><INDENT>raise<EOL><DEDENT><DEDENT>
Returns True if the netid is in the group, False otherwise.