code: def get_members(self, selector):
          
          members = []
          for member in self.get_member_list():
              if selector.select(member):
                  members.append(member)
  
          return members
docs: Returns the members that satisfy the given selector.
  
          :param selector: (:class:`~hazelcast.core.MemberSelector`), Selector to be applied to the members.
          :return: (List), List of members.