def get_int_property(key: str, default: int = None) -> int:
    """
        Get property value and convert it to int.
        If no property found, default value will be returned.
    """
    try:
        return int(_properties[key])
    except KeyError:
        return default