MDL-39474 Library: Make a fast way to check developer debug mode