@staticmethod
def _scan_gt_value(text):
    """
        Scan text for integer value N. Returns N if an int > 0, else None.

        text can be None. If so return None.
        """
    if text is None:
        return None
    try:
        int_value = int(text)
    except ValueError:
        return None
    if int_value < 1:
        return None
    else:
        return int_value
