reduce number of times checking include_blocked
remove duplicate isMember method defintion