Checking if case code is available