Created L1 cache check function