@classmethod
def is_open(cls):
    """
        Counts how often the context was opened and not yet closed.

        :return: Value of internal context counter.
        :rtype: int
        """
    return cls.__ctx_counter
