Check if graphics is already cached.