@staticmethod
def __normalize_int(value, default=0):
    """
        Normalizes an integer value
        """
    try:
        return int(value)
    except (ValueError, TypeError):
        return default
