```python
def check_monthnumb_number(monthnum2):
    """
    Checks if the given month number corresponds to a month with 31 days.

    Args:
        monthnum2: An integer representing the month number (1-12).

    Returns:
        True if the month has 31 days, False otherwise.
    """
    # Months with 31 days are January(1), March(3), May(5), July(7),
    # August(8), October(10), and December(12).
    months_with_31_days = (1, 3, 5, 7, 8, 10, 12)
    
    return monthnum2 in months_with_31_days
```