Added isMember function.