apc/apcu check in contains function