Returns true if this view contains a certain member
@param mbr - the address of the member,
@return true if this view contains the member, false if it doesn't
543742
public boolean containsMember(Address mbr) {
        if(mbr == null || members == null)
            return false;
        for(Address member: members)
            if(Objects.equals(member, mbr))
                return true;
        return false;
    }
414864
@Override
  public boolean contains(final int x) {
    final short hb = Util.highbits(x);
    final Container c = highLowContainer.getContainer(hb);
    return c != null && c.contains(Util.lowbits(x));
  }
1325470
public boolean containsGreaterThan( VersionID m )
    {
        for ( Object _versionId : _versionIds )
        {
            VersionID vi = (VersionID) _versionId;
            boolean check = vi.isGreaterThan( m );
            if ( check )
            {
                return true;
            }
        }
        return false;
    }
934650
public static boolean containsAt(byte[] arra, int start, byte[] arrb) {
        return countSameElements(arra, start, arrb) == arrb.length;
    }
248525
def contains(ref_value):
    
    def contains_ref_value(x):
        if ref_value in x:
            return True
        else:
            raise DoesNotContainValue(wrong_value=x, ref_value=ref_value)

    contains_ref_value.__name__ = 'contains_{}'.format(ref_value)
    return contains_ref_value
449347
private static Boolean hasMembershipProps(final Map<IRI, Long> data) {
        return data.containsKey(LDP.membershipResource) &&
            data.getOrDefault(LDP.hasMemberRelation, 0L) + data.getOrDefault(LDP.isMemberOfRelation, 0L) == 1L;
    }
721572
protected boolean containsResource(CmsResource res) {

        return m_deletedFolderList.contains(res) || m_folderList.contains(res) || m_fileList.contains(res);
    }
186150
public final boolean containsAny(char... a) {
        for (int i = 0; i < len; ++i) {
            for (char b : a) {
                if (b == fb[off + i]) {
                    return true;
                }
            }
        }
        return false;
    }
525818
public function contains($member): bool
    {
        return $member instanceof Resource && $member->uri &&
            $this->findURI($member->uri) >= 0;
    }
844187
@Override
  public boolean contains(final int x) {
    final short hb = highbits(x);
    int index = highLowContainer.getContainerIndex(hb);
    return index >= 0
        && highLowContainer.containsForContainerAtIndex(index, lowbits(x));
  }
872669
public <A> boolean contains(boolean recursive, String name, Class<? extends A> clazz) {
        Map<String, ResourceEntry> map = this.store.get(clazz);
        return map == null ? ((recursive && parent != null) ? parent.contains(recursive, name, clazz) : false) : map.containsKey(name);
    }
26344
public boolean contains(T value) {

        Boolean isMember = m_membershipMap.get(value);
        if (isMember != null) {
            return isMember.booleanValue();
        } else {
            return m_defaultMembership;
        }
    }
410313
public boolean isNotEMPTYlist(int accessor) {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.entry(this, tc, "isNotEMPTYlist", accessor);
    // The answer is true, unless an EMPTY is found.
    boolean isNotAnEMPTY = true;

    // The field can't be an EMPTY singleton unless the part is a JMFMessageData
    // as it is impossible for Encapsulations to hold an EMPTY.
    // Note the JMF call is the reverse - i.e. isEMPTY rather than isNot
    if (jmfPart instanceof JMFMessage) {
      isNotAnEMPTY = !((JMFMessage)jmfPart).isEMPTYlist(accessor);
    }

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled()) SibTr.exit(this, tc, "isNotEMPTYlist",  isNotAnEMPTY);
    return isNotAnEMPTY;
  }
1144515
boolean contains(ProtoMember protoMember) {
    if (protoMember == null) throw new NullPointerException("protoMember == null");
    if (identifierSet.excludes(protoMember)) return false;
    return members.containsKey(protoMember.type())
        ? members.containsEntry(protoMember.type(), protoMember)
        : types.contains(protoMember.type());
  }
5645
public boolean haveMember(String memberName) {
		return members.stream().anyMatch((member) -> (member.getName().equals(memberName)));
	}
192789
public boolean containsAll(Collection<?> c) {
        int n = c.size();
        final Iterator<?> i = c.iterator();
        while (n-- != 0)
            if (!contains(i.next())) return false;
        return true;
    }
247231
public final boolean contains(E entry) {
        TreeEntry<E> e = getEntry(entry);
        return e != null;
    }