added matchesAny utility methods